Skip to content

AttachFieldChooser - cCJGrid

Send this message to attach a Field Chooser object to the Grid

Type: Procedure

Parameters

Parameter Type Description
hoFieldChooser Handle Object handle of the cComFieldChooser control. The field chooser's COM object should be already created before sending this message.
bAttach Boolean Pass True to attach the Field Chooser object to the grid. Pass False to detach the Field Chooser object from the grid. You would do this in the case where you do not want any Field Chooser for the grid.

Syntax

Procedure AttachFieldChooser Handle hoFieldChooser Boolean bAttach

Call Example

Send AttachFieldChooser hoFieldChooser bAttach

Description

The passed Field Chooser replaces the default built-in Field Chooser control.

The Field Chooser is a tool panel that displays a list of grid columns that belong to the grid but have their pbVisible property set to False. Columns can be dragged from the Field Chooser onto the grid to make those columns visible again.