ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
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
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 FAA: Set columns for a Table field
Example
// Fixe/Libère une colonne avec un bouton
// Clic sur le bouton
IF TableFixColumn(COL_COLONNE) THEN
	// La colonne était fixée
	TableFixColumn(COL_COLONNE, False) // On la libère
ELSE
	// La colonne était libre
	TableFixColumn(COL_COLONNE, True) // On la fixe
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 fields have columns with the same name, the column name must be prefixed with the Table field name: <Champ Table>.<Colonne>.
<Fix / Free>: Optional boolean
  • True: column must be fixed
  • Faux: the column must be cleared.
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: wd300obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help