ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Table functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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: Set columns for a Table field
Example
// Fixe/Libère une colonne avec un bouton
// Clic sur le bouton
IF COL_COLONNE.FixeColonne() THEN
	// La colonne était fixée
	COL_COLONNE.FixeColonne(False) // On la libère
ELSE
	// La colonne était libre
	COL_COLONNE.FixeColonne(True) // On la fixe
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 cleared.
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: wd300obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/25/2024

Send a report | Local help