ComponentOne List 8.0 for ActiveX
LayoutReady Event (TDBCombo)

 

TDBCombo Reference> TDBCombo Events> LayoutReady Event (TDBCombo)

LayoutReady Event (TDBCombo)

The LayoutReady event fires when asynchronous downloading of a control layout file has completed.

Syntax

object_LayoutReady ( )

Arguments

None

Remarks

Event applies to TDBList and TDBCombo controls.

The location of the layout file is determined by the LayoutURL property.

If you set the LayoutURL property to a nonempty string at design time (and LayoutFileName is empty), the control initiates asynchronous downloading at run time after it has been loaded. You can also initiate downloading by setting the LayoutURL property in code. This technique is particularly useful for initializing a control on an HTML page.

In either case, the control fires the LayoutReady event when the download operation has completed. You should write a handler for this event that loads the desired layout as follows:

TDBList1.LayoutName = "MyLayout"

TDBList1.LoadLayout

Note: 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.

See Also

TDBList and TDBCombo Controls

 

 


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

Product Support Forum  |  Documentation Feedback