Progress
ADM 2 Reference
applyLayout (visual.p)
Applies the Master or an alternate layout for a SmartObject that has multiple layouts.
Parameters: NoneReturns: Nothing (procedure)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 © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |