LayoutFileName Property
This property sets or returns the string containing the filename used to save and retrieve control layouts.
object.LayoutFileName = string
Read/Write at run time and design time.
Property applies to TDBList and TDBCombo controls.
Setting this property alone has no effect on the control layout; the property value is used by the LoadLayout method of the control and the Add and Remove methods of the Layouts collection.
You can create control layout files at design time by setting the LayoutFileName and LayoutName properties and using the layout commands on the control's visual editing menu.
At design time, if you first set the LayoutFileName property to a valid filename in which control layouts are stored, you can then choose the LayoutName property from a drop-down list of layout names stored in the specified layout file.
Note: If the LayoutFileName property is nonempty, it takes precedence over LayoutURL, and asynchronous downloading will not occur.
See Also