First
First
Get first item object
Read-only Runtime-only OBJECT reference property
Applies to: ComboBox , Grid , GridCell , KCMLEdit , List Box
Introduced in KCML version 5.03
First
Get first item object
Read-only Runtime-only OBJECT reference property
Applies to: Grid , GridCell , KCMLEdit
Introduced in KCML version 6.20
First
Get object for first item
Read-only Runtime-only OBJECT reference property
Applies to: Tree
Introduced in KCML version 6.00
This property returns a listitem object reference for the first entry in the edits listbox. It will be NULL if the listbox is empty. The next item can then be found by using the Next property on this object e.g.
count = 0 OBJECT c = .editControl1.First WHILE OBJECT c <> NULL DO count++ OBJECT c = c.Next WEND
ListBox
This property returns an listitem object reference for the first entry in a listbox. It will be NULL if the listbox is empty. The next item can then be found by using the Next property on this object e.g.
count = 0 OBJECT c = .listControl1.First WHILE OBJECT c <> NULL DO count++ OBJECT c = c.Next WEND
Tree
This property returns an object reference to the first tree node in the tree. The property can be used with the Next and Child properties to recursively navigate the entire tree.
OBJECT c = .treeControl1.First