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
<Table>.FixColumn (Function)
In french: <Table>.FixeColonne
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 COL_COLUMN.FixColumn() THEN
// The column was fixed
COL_COLUMN.FixColumn(False) // Free it
ELSE
// The column was freed
COL_COLUMN.FixColumn(True) // Fix it
END
Syntax
<Result> = <Column>.FixColumn([<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.
<Fix / Free>: Optional boolean
  • True: the column must be fixed
  • False: the column must be freed.
If this parameter is not specified, <Table>.FixColumn returns the current status of the column.
Remarks
  • <Table>.FixColumn 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 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/20/2023

Send a report | Local help