PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Overview
  • Remember break state
  • Programming
  • Forcing the storage of breaks
  • Preventing from storing breaks
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
Overview
When end users work on a complex Table or Looper control with multiple breaks, they may want to save the current layout: expanded break, collapsed 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