ComponentOne List 8.0 for ActiveX
LoadLayout Method (TDBCombo)

 

TDBCombo Reference> TDBCombo Methods> LoadLayout Method (TDBCombo)

LoadLayout Method (TDBCombo)

The LoadLayout method loads a previously saved control layout from a binary layout storage file and configures the control accordingly.

Syntax

object.LoadLayout

Arguments

None

Return Value

None

Remarks

Method applies to TDBList and TDBCombo controls.

You can use this method to easily switch to a predefined control layout at run time.

The layout to be loaded is specified by the LayoutName property. The location of the binary layout storage file is specified by the LayoutFileName property (or the LayoutURL property if downloadable layouts are used). Before calling the LoadLayout method, you must set the LayoutName and LayoutFileName (or LayoutURL) properties to valid values.

To save the current control layout to a binary layout storage file, use the Add method of the Layouts collection. To remove a named layout from a binary layout storage file, use the Remove method of the Layouts collection.

See Also

TDBList and TDBCombo Controls

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback