Topic: Open tabsheetX

On a form I have 6 Tabsheets. Is it possible to open a specific tabsheet, e.g. Tabsheet3, by pressing a button. See screenshot. When pressing ButtonX, Tabsheet3 has to open.

Post's attachments

Attachment icon open_tabsheeet_by-button.PNG 5.13 kb, 137 downloads since 2021-03-15 

2 (edited by derek 2021-03-15 11:07:32)

Re: Open tabsheetX

Hi Kees,
I think you've got 3 basic options (see attachment)
1.  Tabsheet A uses buttons to go to a specific sheet but also shows the tabs (which might be a bit confusing).
2.  Tabsheet B uses buttons to go to a specific sheet but hides the tabs.
3.  Tabsheet C changes the 'style' property (style = Buttons) of the 'pagecontrol' object.  No script is needed for this option.  However, the 'pagecontrol' buttons can only be placed above the 'pagecontrol' so is less flexible than the Tabsheet B option.
Derek.

Post's attachments

Attachment icon tabsheet.zip 1007.73 kb, 288 downloads since 2021-03-15