/
getNumListViewColumns

getNumListViewColumns

Description

Use this command to get the number of columns in a list view user control.

Functional area

User Window

Command syntax

Syntax

getNumListViewColumns userControlID

Arguments

NameTypeRequiredComments
userControlIDintegeryesID of the list view to operate on

Flags

None

Return value

integer

Returns the number of columns in the list view

Examples

// Get the number of columns in a list view we created earlier 
int $listViewID = `getGlobalIntVar "ListViewID"`;
print( `getNumListViewColumns $listViewID` );

Additional information

Related commands

Related content


© Copyright Vicon Motion Systems. All rights reserved.

Vicon trademarks