Release 10.1A: OpenEdge Development:
ADM Reference

> ## adjustTabOrder

> Procedure that changes the tab order of SmartObjects.

> Location: smart.p

> 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 anchors the SmartObject.

> `INPUT pcPosition AS CHARACTER`

> “After” if the SmartObject is moved after the anchor.

> “Before” if the SmartObject is moved before the anchor.

> 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 makes 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 © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095