FieldChooser Control
See Also

Description
FieldChooser ListBox control.
For a list of all members defined in this module, see FieldChooser Members.
Object Model



Remarks
The FieldChooser ListBox control allows you to hide and replace columns by dragging and dropping the column headers to/from the FieldChooser ListBox to/from the GridControl.
If you would like to remove a column, you can simply drag the column header to the FieldChooser ListBox. The column header is placed in the FieldChooser ListBox and is removed from the GridControl. To replace any hidden columns, simply drag the column header from the FieldChooser ListBox to the desired location in the GridControl.
Example
Associating a FieldChooser Control with a GridControl (Visual Basic)
This sample illustrates how to associate a FieldChooser control with a GridControl. Once the association has been made, the GridControl automatically adds column headers to the FieldChooser when they become invisible.
' Displays a form with a FieldChooser control
frmFieldChooser.Show 0, Me
' Associates a FieldChooser control with a GridControl on another form
' This is necessary so the GridControl knows where to find the FieldChooser so it can
' add and remove column headers.
wndGridControl.FieldChooser = frmFieldChooser.wndFieldChooser
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.