PC SOFT

WINDEV的在线文档

  • Overview
  • How do I proceed?
  • Programming
  • Properties available in a window or in a page (server code)
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

Handling a day found in a Calendar control by programming

Overview
WinDev, WebDev and WinDev Mobile enable you to handle by programming:
18版本和更高版本
WinDevLinux The Calendar control is now available for the WinDev applications in Linux.
18新版本
WinDevLinux The Calendar control is now available for the WinDev applications in Linux.
WinDevLinux The Calendar control is now available for the WinDev applications in Linux.

How do I proceed?

Programming

To handle a day found in a Calendar control, use the following notation:

<Name of Calendar Control>[<Date to Handle>]

For example:

// Displays the date on a red background
CAL_Calendar1"20120701"】..背景颜色=浅红色

Several properties can be used to handle a day in a Calendar control.

Properties available in a window or in a page (server code)

The following properties are used to handle a day found in a Calendar control:
09版本和更高版本
工具提示
09新版本
工具提示
工具提示
..工具提示 is used to find out and modify the text displayed in the tooltip associated with a control found in a window or in a page.
09版本和更高版本
水平对齐
09新版本
水平对齐
水平对齐
..水平对齐 is used to find out and modify the horizontal alignment of a control.
09版本和更高版本
垂直对齐
09新版本
垂直对齐
垂直对齐
..垂直对齐 is used to find out and modify the vertical alignment of a control.
09版本和更高版本
颜色
09新版本
颜色
颜色
..颜色 is used to find out and modify the color of the font for:
  • a font variable.
  • a text displayed in a Static control or in a calculated control of a report.
  • a text displayed in a window control.
  • a text displayed in a page control.
09版本和更高版本
背景颜色
09新版本
背景颜色
背景颜色
..背景颜色 is used to manage the background color of a control, window, page or report block.
09版本和更高版本
名称
09新版本
名称
名称
..名称 is used to find out:
  • the name of the font associated with a Font variable.
  • the name of a control, report or report block.
  • the name of a control, group of controls or window.
  • the name of a control, group of controls or page.
09版本和更高版本
字体
09新版本
字体
字体
..字体 is used to:
  • Find out the identifier of the font used in a control found in a report, in a page or in a window.
  • Modify the font used in a control found in a report, in a page or in a window.
09版本和更高版本
字体删除线
09新版本
字体删除线
字体删除线
..字体删除线 is used to:
  • Find out whether a text is struck out or not.
  • Strike out (or not) the text displayed in a control.
09版本和更高版本
字体紧缩
09新版本
字体紧缩
字体紧缩
..字体紧缩 is used to:
  • Find out whether the characters in a text are condensed or not.
  • Condense (or not) the characters in a text.
09版本和更高版本
扩展字体
09新版本
扩展字体
扩展字体
..扩展字体 is used to:
  • Find out whether the characters in a text are extended or not.
  • Extend (or not) the characters displayed in a text.
09版本和更高版本
字体粗体
09新版本
字体粗体
字体粗体
..字体粗体 is used to:
  • Find out whether a text is bold or not.
  • Modify the weight of a text.
09版本和更高版本
字体斜体
09新版本
字体斜体
字体斜体
..字体斜体 is used to:
  • Find out whether the italic attribute is assigned to a text.
  • Modify the italic attribute of a text.
09版本和更高版本
字体更加宽
09新版本
字体更加宽
字体更加宽
..字体更加宽 is used to:
  • Find out whether the characters in a text are enlarged or not.
  • Enlarge (or not) the characters in a text.
09版本和更高版本
字体名称
09新版本
字体名称
字体名称
..字体名称 is used to:
  • Find out the font used in a control.
  • Modify the font used in a control.
09版本和更高版本
字体下划线
09新版本
字体下划线
字体下划线
..字体下划线 is used to:
  • Find out whether a text is underlined or not.
  • Underline (or not) a text.
09版本和更高版本
字体大小
09新版本
字体大小
字体大小
..字体大小 is used to:
  • Find out the size of the font used in a control.
  • Modify the size of the font used in a control.
09版本和更高版本
09新版本
..值 is used to:
  • Find out and modify the value of a report control.
  • Find out and modify the value of a control or the title of a window.
  • Find out the identifier of a stream.
  • Find out and modify the value of a control or the title of a page.

Note: Some properties may not be available according to the platform used. See the help page about the property for more details.