📚 SAP Business One SDK Help

TabOrder Property
See Also  Example

Description

The item's tab order, which can be any long integer equal to or greater than 0.

Tab order is the order in which form items get focus when the user presses the TAB key. Only items that can get focus can get a tab order value, for example, you cannot set a tab order for cells or columns.

Two items can have the same tab order, in which case the order is not guaranteed.

Property type

Read-write property

Syntax

Visual Basic
Public Property TabOrder() As Long

Example

Setting the TabOrder property (Visual Basic)Copy Code
Dim oItem As SAPbouiCOM.Item
Dim oComboBox As SAPbouiCOM.ComboBox

oItem = oForm.Items.Add("MyCombo",it_COMBO_BOX)
oComboBox = oItem.Specific
oComboBox.TabOrder = 10

See Also