The HideShow control can contain other controls and it is intended to facilitate the formatting of the GUIs. It can be expanded in order to display (or not) the included controls. The collapse/expand operation of the control can be done:

by clicking the title of the control,

by programming.

This type of control can be used in Windows 98 and later.

Creating a "HideShow" control

To create a "HideShow" control:

In the window editor or in the page editor, click(or select "Insert .. Control .. HideShow control").

Click the position where the control must be created in the window or in the page. The control appears in creation mode.

In a window, the created HideShow control automatically contains a default control: this control is the button used to "Expand/Collapse" the HideShow control. This control contains the necessary WLanguage code. You can customize it by associating it with a specific image.

Drop on the HideShow control the different controls that must appear/disappear when it is used.

To display the characteristics of the control, select "Description" from the popup menu of the control.

To create a "HideShow" control in a window

To create a "HideShow" control in a window:

On the "创建" pane, in the "容器" group, expand "选项卡和关联" and select "HideShow control".

Click the position where the control must be created in the window. The control appears in creation mode. The created HideShow control automatically contains a control: this control is the button used to "Expand/Collapse" the HideShow control. This control contains the necessary WLanguage code. You can customize this control by associating it with a specific image.

Drop on the HideShow control the different controls that must appear/disappear when it is used.

To display the characteristics of the control, select "Description" from the popup menu of the control.

Characteristics of a HideShow control

HideShow control found in a window

When the HideShow control is in edit in the window editor, it can be handled like when it is in execution. The popup menu of the control enables you to expand/collapse it upon request ("Collapse/Expand the HideShow control").

In the description of the HideShow control, the "General" tab is used to specify:

Whether an animation must be performed when handling a HideShow control.

Whether the size of the window must be adapted when handling the control. Indeed, when the HideShow control is expanded, the controls located below the HideShow control are automatically moved to the bottom. This option is used to automatically enlarge the window to the bottom in order to see the controls found below the HideShow control.