showMySheet

showMySheet();

The showMySheet method of the Control class provides a control with the ability to make the sheet on which it is placed the top sheet of a Folder control. The control does not have to be a direct child of the folder.

Folders provide the ability to share the same screen space for a number of control images.

The sheets of the folders are special group boxes on which controls are placed. The caption of each sheet is displayed in selectable tabs above the images. Only one sheet is displayed at any time.

If the control is not on a sheet, this method does nothing. If the sheet that contains this control is not visible, the sheet is then made visible, as shown in the code fragment in the following example.

if not text1.isMySheetVisible then
    text1.showMySheet;
endif;