ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Automatic Application Features (AAF) / AAF on Tables/TreeView Tables
  • Overview
  • Remember break state
  • Programming
  • Forcing the storage of breaks
  • Preventing from storing breaks
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
When an end user is working on a complex Table or RepeatString field with many breaks, he may want to memorize the current presentation: unfolded break, folded break, ....
Remember break state
To save the state of the current breaks, select "Remember break state" in the context menu of the rows in the Table or Looper control. In this case, when closing the window, the breaks will be saved in their current state (expanded/collapsed). These breaks will be automatically re-applied during the next window opening.
To no longer save the state of the current breaks, select "Remember break state" in the context menu of the rows in the Table or Looper control.
Programming

Forcing the storage of breaks

To save the state of the breaks in a Table or Looper control, use AAFExecute with the aafSaveBreakStatus constant.
For example:
// Checks by default the option for storing breaks
AAFExecute(TABLE_Customer, aafSaveBreakStatus)

Preventing from storing breaks

To no longer save the state of the breaks in a Table or Looper control, use AAFDisable with the aafSaveBreakStatus constant.
For example:
// No storage of breaks
AAFDisable(TABLE_Customer, aafSaveBreakStatus)
Minimum version required
  • Version 20
Comments
Click [Add] to post a comment

Last update: 09/30/2024

Send a report | Local help