PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Use conditions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the index of a column in a Table or Treeview Table control.
Versions 16 and later
WINDEVLinux This function is now available for WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for WINDEV applications in Linux.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Example
WINDEVJavaUser code (UMC)
// Index of "Ref" column in the "TABLE_Product" control
// The display order is taken into account
ResColumnIndex = TABLE_Product.ColumnSubscript("Ref", tcpDisplay)
Syntax
<Result> = <Table control>.ColumnIndex(<Column> , <Order>)
<Result>: Integer
Column index:
  • The index of the first column is set to 1.
  • The invisible columns are also listed.
<Table control>: Control name
Name of Table or TreeView Table control to use.
<Column>: Character string
Name of the column to be used.
<Order>: Integer constant
Specifies the order of relevant columns:
tcpCreationOrder in which the columns have been created when describing the Table control.
tcpDisplayOrder in which the columns are displayed at run time.

Remarks

Use conditions

<Table>.ColumnSubscript can be used on:
  • a Table or TreeView Table control based on a data file.
  • a Table or TreeView Table control populated programmatically.
  • a single-selection or multi-selection control.

Component: wd270obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment