|
|
|
|
- Retrieving a supercontrol
- Programming a supercontrol
- Properties specific to the supercontrols
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: - Display the "Dictionary" pane.
- Open the dictionary ("Open" from the popup menu).
- Drag and Drop the control found in the dictionary to your window or page. The supercontrol is automatically included in your window or page.
Remark: 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 Value.
- To handle a control of the supercontrol (to find out its value for example), you must use the following notation:
<Supercontrol name>.<Control name> - Use (if necessary) the processes associated with the supercontrol.
Remark: 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. | | Height | Allows you to find out and modify the height of the supercontrol | Name | Allows you to find out the name of the supercontrol | Value | Allows you to find out and modify the value of the supercontrol | Width | Allows you to find out and modify the width of the supercontrol |
For a complete list of WLanguage properties that can be used with a supercontrol, see Properties associated with a supercontrol.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|