ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Table functions
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
Fixes a column to the left or frees a column fixed to the left. This function can also be used to find out whether the column is fixed to the left or not.
Remarks:
  • The columns fixed to the left do not scroll with the horizontal scrollbar.
  • This function is equivalent to:
    • the lock set by the user.
    • the "Freeze columns to the left" option in the context menu of the column title.
    For more details, see AAF: Freezing the columns of a Table control
Example
// Fixes/Frees a column with a button
// Click on the button
IF TableFixColumn(COL_COLUMN) THEN
// The column was fixed
TableFixColumn(COL_COLUMN, False) // Free it
ELSE
// The column was freed
TableFixColumn(COL_COLUMN, True) // Fix it
END
Syntax
<Result> = TableFixColumn(<Column> [, <Fix / Free>])
<Result>: Boolean
Previous status of the column:
  • True, fixed column,
  • False, free column.
<Column>: Control name
Name of the column to be used.
If several Table controls include columns with the same name, the name of the column must be prefixed by the name of the Table control: <Table control>.<Column>.
<Fix / Free>: Optional boolean
  • True: the column must be fixed
  • False: the column must be freed.
If this parameter is not specified, TableFixColumn returns the current status of the column.
Remarks
  • TableFixColumn has no effect if it is used to fix a column that is already fixed.
  • This function cannot be used with indexed columns.
Component: wd290obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2022

Send a report | Local help