|
|
|
|
|
- Table control based on a data file with bouncing scrollbar
- Array and associative array
- Limit
Count (Property) In french: Occurrence
Warning
From version 24, Occurrence is kept for backward compatibility. This property has been replaced with Count.
The Count property returns the number of elements in a given set. You can get: - the number of rows in a List Box or Combo Box control.
- the number of rows in a Table control. If there is a filter on a column, the Count property returns the number of elements displayed.
- the number of rows in a Looper control.
- the number of elements in a ListView control.
- the number of rows in a Table control column.
- the number of options in a Radio Button or Check Box control.
- the number of controls in a group of controls.
- the number of elements in a TreeView control.
- the number of series in a Chart control.
- the number of elements in an array, associative array or advanced array (arrays used in the gglxxx variables for example) as well as the number of occurrences for an element of the associative array.
- the number of elements in a WLanguage queue, list or stack.
- the number of indexed subelements in a variant.
- the number of panes in a Tab control.
- the number of files in an Upload control.
- the number of options in a menu.
- the number of elements in an Organization Chart control.
Remark: The Occurrence property can be used interchangeably on a Table, List, RepeatString or File Combo field and on a Table, List, RepeatString or File Combo field by programming.
// Number of elements found in the "TABLE_CustomerTable" control ResCount = TABLE_CustomerTable.Count
CustomerArray is dynamic array
CustomerArray = new dynamic array of 4 by 7 int
Trace("Number of elements: " + TableauClient.Occurrence)
Syntax
<Result> = <Element used>.Count
Remarks Limit The Count property applies only to: - List Box and ListView controls,
- Table and TreeView Table controls,
- Looper controls,
- Combo Box controls,
- TreeView controls,
- Check Box controls,
- Radio Button controls,
- columns of Table controls, columns of TreeView Table controls,
- Tab controls,
- groups of controls,
- Chart controls,
- arrays, associative arrays,
- queues, stacks and lists,
- TreeMap controls.
- Upload controls.
- menus.
- Organization Chart controls.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|