ID : 5284
PageChangeByName
Function
To switch the displayed panel screen. Unlike PageChange command, you can use a formula for name of a panel screen task.
Syntax
PageChangeByName panel screen task name
Guaranteed entry
- Panel screen task name
-
Designate a panel screen task name by String Type data. For information on how to designate it, refer to "File Path and Task".
If null ("") is designated, it deems that the panel screen task which has been opened at the last time is designated.
If null is designated when a panel screen task is running, a currently opening panel screen will restart.
Description
At the time of program execution, evaluate a formula designated as a task name and create the task name dynamically to switch to the panel screen task. This is useful to switch to the panel screen task which meets the condition.
Except format, other behaviors are the same as PageChange.
Related Terms
PageChange, others are the same as PageChange.
Attention
Refer to PageChange.
Example
In the following example, open Page* (* is a value of I1) according to the value of I1.
'Main.pns
Panel_Initialize
PageChangeByName "Page" & I1
End Sub
ID : 5284