PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Storing the status of breaks
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
When the end user works on a complex Table or Looper control with several breaks, he may want to store the current layout: expanded break, collapsed break, ....
Storing the status of breaks
To store the status of the current breaks, all you have to do is select "Store the status of breaks" from the popup menu of the rows found in the Table or Looper control. In this case, when closing the current window, the current breaks will be stored in their status (expanded/collapsed). These breaks will be automatically re-applied during the next window opening.
To no longer store the status of the current breaks, all you have to do is select "Store the status of breaks" from the popup menu of the rows found in the Table or Looper control.
Programming

Forcing the storage of breaks

To force the storage of breaks in a Table or Looper control, all you have to do is use ExecuteAAF associated with the aafSaveBreakStatus constant.
For example:
// Checks by default the option for storing breaks
ExecuteAAF(TABLE_Customer, aafSaveBreakStatus)
To force the storage of breaks in a Table or Looper control, all you have to do is use AAFExecute (or ExecuteAAF) associated with the aafSaveBreakStatus constant.
For example:
// Checks by default the option for storing breaks
AAFExecute(TABLE_Customer, aafSaveBreakStatus)

Preventing from storing breaks

To prevent from storing breaks in a Table or Looper control, all you have to do is use DisableAAF associated with the aafSaveBreakStatus constant.
For example:
// No storage of breaks
DisableAaf(TABLE_Customer, aafSaveBreakStatus)
To prevent from storing breaks in a Table or Looper control, all you have to do is use AAFDisable (or DisableAAF) associated with the aafSaveBreakStatus constant.
For example:
// No storage of breaks
AAFDisable(TABLE_Customer, aafSaveBreakStatus)
Minimum required version
  • Version 20
Comments
Click [Add] to post a comment