prop_follows.htm
Navigation: Language Reference > App C - PROP: Runtime Properties > Complete Property List > ====== PROP:Follows ====== | |
Changes the tab order to specify the position within the parent that the control will occupy. The control follows the control number you specify in the tab order. This must specify an existing control within the parent (window, option, group, menu, report, detail, etc.). Setting PROP:Follows to a REGION control will be ignored, as REGIONs are not in the Windows tab order. (WRITE-ONLY)
PROP:Precedes added in Clarion 10 is the inverse of PROP:Follows . Read-only, runtime only
?A {PROP:Follows} = ?B
is valid only if ?A and ?B have the same parent.
Example:
WinView WINDOW('View Report'),AT(0,0,320,200),MDI,MAX,HVSCROLL BUTTON('View Next Page'),AT(0,180,60,20),USE(?NextPage),DEFAULT BUTTON('Print Report'),AT(80,180,60,20),USE(?PrintReport) BUTTON('Exit Without Printing'),AT(160,180,60,20),USE(?ExitReport) END CODE OPEN(WinView) !Print Report button normally follows View button ?PrintReport{PROP:Follows} = ?ExitReport !Now Print Report button follows Exit button in the tab order ACCEPT END
See Also: Prop:NextField
prop_follows.htm.txt · Last modified: 2021/04/14 14:03 by carlbarnes