Release 10.1A: OpenEdge Development:
ADM Reference

> ## applyLayout

> Procedure that applies the Master or an alternate layout for a SmartObject that has multiple layouts.

> Location: visual.p

> Parameters: None

> Notes:

> - applyLayout is invoked from initializeObject to set the correct layout during SmartObject initialization. Runs the Layout procedure to apply the Master layout if it is already current (in order to reset the user interface to its original state), and then runs the Layout procedure (determined by the LayoutVariable property that is storing the LAYOUT–VARIABLE preprocessor value) to apply the new layout.

> - applyLayout can be customized when special processing is needed to change layouts.

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