Purpose
List of the group columns in which a column can be moved with the mouse.
Class
Type
Access
Data Type
Description
bBrowserColumn:AllowedGroupColumnList defines a list of group columns in which a column may be moved with the mouse. The access can be used to define several possible group columns for a column. If the list does not contain any group columns, then the column can be moved in every group column.
With the access bBrowserColumn:GroupColumn the group column in which the column is currently can be determined. If the access contains the value NULL_OBJECT, then the column is not assigned to any group column.
Important notes!
So that a column can be moved with the mouse inside or outside a group column, the flag BDCF_CAPTUREDINGROUP must be deleted in the access bBrowserColumn:Flags in the column. After creating an object of the class bBrowserColumn the flag is active. Furthermore the access bBrowserColumn:Movable must contain the value TRUE and column moving must be enabled in the bBrowser (see bBrowser:EnableColumnMove()).
Samples
In the following sample 2 possible group columns are defined for the column 'LASTNAME'. It is assumed that the 2 group columns (oGroup1 und oGroup2) are created already.
oColumn := oBrowser:GetColumn(#LASTNAME)
oColumn:Flags := _Xor(oColumn:Flags, BDCF_CAPTUREDINGROUP)
oColumn:AllowedGroupColumnList:Add(oGroup1)
oColumn:AllowedGroupColumnList:Add(oGroup2)
See Also
Page url: http://www.YOURSERVER.com/index.html?bbrowsercolumn_allowedgroupcolumnlist.htm