📚 SAP Business One SDK Help

Column Object Members
See Also  Overview 

Public Properties

Public Property AffectsFormModeIndicates whether this item triggers a change in the form mode.
Public Property BackColorThe foreground color of text or graphics in an item.
Public Property CellsThe column's cells.
Public Property ChooseFromListAliasThe database field by which to filter a ChooseFromList attached to the edit box.

When the user enters a value in the text box and then presses the tab key, the ChooseFromList dialog is displayed with only those rows where the value of the field specified in this property starts with the entered text. 

For example, if the ChooseFromList displays business partners and this property is set to CardCode, when the user enters A in the edit box and presses the tab key, the ChooseFromList is displayed with only rows where the code starts with an A. If this property is set to CardName, then the same action displays only rows where the name starts with an A.

In either case, after the user selects a value, the key of the selected row is entered into the text box.

Public Property ChooseFromListUIDThe unique ID of the ChooseFromList object to attach with this item.
Public Property ColumnSettingThe settings for a special column cell in a grid or matrix.
Public Property DataBindThe DataBind object tied to this column.
Public Property DescriptionThe item description in the SAP Business One status bar.
Public Property DisplayDescproperty DisplayDesc
Public Property EditableIndicates whether the column is editable.
Public Property ExpandTypeThe expand types of a ButtonCombo.
Public Property ExtendedObjectThe LinkedButton object tied to this column. Relevant only if the column is type it_LINKED_BUTTON.
Public Property FontSizeThe font size for EditText, ComboBox, and StaticText items.
Public Property ForeColorThe foreground color of text or graphics in an item.
Public Property RightJustifiedIndicates whether the item is right-justified.
Public Property SelectedIndicates whether the column is selected.
Public Property TextStyleIndicates the font style of text displayed by the item.
Public Property TitleThe title of the column.

Deprecated in UI API 2004.
The property is supported in the next two releases for backward compatibility. Use TitleObject instead.

Public Property TitleObjectThe column title and its properties.
Public Property TypeThe item's type.
Public Property UniqueIDThe item's unique ID.
Public Property ValidValuesThe valid values for this item.

Add or remove valid values with the Add and Remove methods of the ValidValues object.

Public Property ValOffThe data source value when the item is not selected.

Setting the data source with this value deselects the checkbox. If the checkbox is deselected by the user, the data source is set with this value.

Public Property ValOnThe data source value when the item is selected.

Setting the data source with this value selects the checkbox. If the checkbox is selected by the user, the data source is set with this value.

Public Property VisibleIndicates whether the item is visible.
Public Property WidthThe item's width, in pixels.

Events

Public Event ChooseFromListAfterThe event occurs after the user makes a selection in the ChooseFromList form or chooses Cancel.
Public Event ChooseFromListBeforeThe event occurs before the ChooseFromList form is displayed.
Public Event ClickAfterClickAfter
Public Event ClickBeforeClickBefore
Public Event CollapsePressedAfterThe event occurs after the collapse button is pressed.
Public Event CollapsePressedBeforeThe event occurs before the collapse button is pressed.
Public Event ComboSelectAfterThe event occurs after a value was selected in a combo box.
Public Event ComboSelectBeforeThe event occurs before a value was selected in a combo box.
Public Event DatasourceLoadAfterThe event occurs after data was loaded from the GUI into a matrix data source.
Public Event DatasourceLoadBeforeThe event occurs before data was loaded from the GUI into a matrix data source.
Public Event DoubleClickAfterThe event occurs after the main mouse button was double clicked.
Public Event DoubleClickBeforeThe event occurs before the main mouse button was double clicked.
Public Event GotFocusAfterGotFocusAfter
Public Event GridSortAfterThe event occurs after a grid column was sorted.
Public Event GridSortBeforeThe event occurs before a grid column was sorted.
Public Event KeyDownAfterThe event occurs after the key was pressed.
Public Event KeyDownBeforeThe event occurs before the key was pressed.
Public Event LinkPressedAfterThe event occurs after a link arrow was pressed.
Public Event LinkPressedBeforeThe event occurs before a link arrow was pressed.
Public Event LostFocusAfterLostFocusAfter
Public Event MatrixLoadAfterThe event occurs after data was loaded from the database into a matrix data source.
Public Event MatrixLoadBeforeThe event occurs before data was loaded from the database into a matrix data source.
Public Event PickerClickedBeforeThe event occurs before the Picker form is displayed.
Public Event PressedAfterThe event occurs after the item was pressed, that is, a mouse is released within an item.
Public Event PressedBeforeThe event occurs before the item was pressed.
Public Event ValidateAfterAn item lost focus and validation is required. The event occurs after the validation.
Public Event ValidateBeforeAn item lost focus and validation is required. The event occurs after the validation.

See Also