Sets the currently selected page of PanelBox fieldName.
The first page is number zero.
Parameters:
Name |
Type |
Description |
fieldname |
String |
ScreenFieldName of the control. Ctrl+Click onto a control to retrieve its fieldName (= ScreenFieldName) |
tabIndex |
Integer |
To change the page that is displayed, set this value. Possible values: 0 to (number of panel pages -1) |
Available in:
WindowMain |
WindowLink |
YES |
YES |
Used in:
XojoScript Name |
GUID |
Create Seminar Invoice in Word |
D2036EFA-D283-481A-9A93-D00547680749 |
Hint: You can find more references to XojoScripts which make use of this function by sending the following SQL statement to the database:
Select id,GUID, ScriptName,ScriptCode from im_scripts where ScriptCode Like '%SetPanel%'
Example XojoScript:
// Switch to 2nd Panel, to show Invoice No, Date and Amount
SetPanel("imPanelBoxAdrEvt",1)