CategorySelectionChanging
PowerScript event
Description
Occurs when another category is about to be selected.
Event ID
|
Event ID |
Objects |
|---|---|
|
None |
RibbonBar |
Arguments
|
Argument |
Description |
|---|---|
|
OldIndex |
Long by value (the index of the currently selected |
|
NewIndex |
Long by value (the index of the category that is |
Return Values
Long.
Return code choices (specify in a RETURN statement):
0 — Allow the selection to change
1 — Prevent the selection from changing
Examples
|
1 2 3 4 5 6 7 8 9 10 11 |
Boolean lb_Auth lb_Auth = gb_Auth //Global Variable Choose Case NewIndex Case 2,3 //Whether to authorize If lb_Auth Then Return 0 Else Return 1 End If End Choose |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest