Release 10.1A: OpenEdge Development:
Progress 4GL Reference

> ## LoadControls( ) method

> Loads the control from a specified control file into the specified control-frame.

> Return type: None

> Applies to: CONTROL-FRAME widget, COM object

> Syntax
>     LoadControls ( control-filename , control-frame-name )

> ``control-filename``

> The name and extension of a control (`.wrx`) file associated with the current external procedure that is created by the AppBuilder at design time.

> ``control-frame-name``

> A character-string expression that specifies the section of the control file that contains the control. Typically, this section name is also the name of the control-frame defined by the AppBuilder at design time.

> This method loads the specified control along with all of its design-time property values.

> #### Notes

> - References to COM object properties and methods extend the syntax used for referencing widget attributes and methods. For more information, see the "Referencing COM object properties and methods" section.

> - In a future release, this method loads multiple controls into a control-frame.

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