Progress
ADM 2 Reference


adjustTabOrder (smart.p)

Changes the tab order of SmartObjects.

Parameters:

INPUT phObject AS HANDLE

Handle of the smart object.

INPUT phAnchor AS HANDLE

Handle of either another SmartObject procedure or a widget-handle of the object that will anchor the SmartObject.

INPUT pcPosition AS CHARACTER

Afterif the SmartObject is moved after the anchor.

Before if the SmartObject is moved before the anchor.

Returns: Nothing (procedure).

Notes: adjustTabOrder calls are generated by the AppBuilder in adm–create–objects. Calls to this procedure can be added to an application to do dynamic re-ordering of the tab order of SmartObjects in a SmartContainer at run time.

Examples:

/*  This example will make sure that the tab order position of a 
    SmartPanel in a SmartWindow is immediately before the fill-in field 
    FIELD-1 in that window. */ 
RUN adjustTabOrder (INPUT hSmartPanel, INPUT FIELD-1:HANDLE  
   IN FRAME {&FRAME-NAME}, INPUT "BEFORE":U). 


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095