ComponentOne List 8.0 for ActiveX
Automatic Layouts

If you do not define a column layout at design time, True DBList will automatically create one based upon the database used when you run your program. All fields from the Data control's Recordset (Data control) will be displayed, using the field names for column captions. At run time, you can perform database actions that may alter the layout needed to display the data. For example, you may change the DatabaseName (Data control), Recordset (Data control), or Recordset (Data control) properties of the Data control, resulting in a different Recordset (Data control). When the new Recordset (Data control) is created the list will automatically sense the new column layout and reconfigure. This mode is the most automatic and is quite useful for most applications. You can cancel the list's automatic layout behavior by invoking the list's HoldFields method in code.

 

 


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

Product Support Forum  |  Documentation Feedback