PC SOFT

WINDEV的在线文档

  • Retrieving a supercontrol
  • Programming a supercontrol
  • Properties specific to the supercontrols
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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本地访问

Including a supercontrol in a window or in a page

Retrieving a supercontrol
In most cases, the supercontrol is available in a dictionary (.Dic file). To include the supercontrol in your window or page, you must:
  1. Display the "Dictionary" pane.
  2. Open the dictionary ("Open" from the popup menu).
  3. Drag and Drop the control found in the dictionary to your window or page. The supercontrol is automatically included in your window or page.
Note: Several copies of the same supercontrol can be found in the same window or page. Only the name of the supercontrol is modified. The names of the elements found in the supercontrol are not modified. The processes associated with the controls are independent.

Programming a supercontrol
Programming a supercontrol depends on the possibilities given to the supercontrol by its designer.
  • In most cases, the supercontrol has a value. This value can be obtained by using the name of the supercontrol or by using ..值.
  • To handle a control of the supercontrol (to find out its value for example), you must use the following notation:
<Supercontrol name>.<Control name>

Note: We do not advise you to modify the procedures associated with the supercontrols without prior agreement from the designer.

Properties specific to the supercontrols
The following properties are used to manage the characteristics of a supercontrol by programming.
高度Used to find out and modify the height of the supercontrol
宽度Used to find out and modify the width of the supercontrol
名称Used to find out the name of the supercontrol
Used to find out and modify the value of the supercontrol

To find out the entire list of WLanguage properties that can be used with a supercontrol, see Properties associated with a supercontrol.
另见