PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Configuring the menu
  • Configuring the automatic storage menu in an edit control
  • Configuring the storage and the history of inputs
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
In the edit controls, a "Store" menu allows the user to define the options for storing the values typed in the control.
This allows him to:
  • Store the last value entered: If this option is selected by the user, whenever the window is opened, the last value entered by the user will be automatically typed in the control.
  • Store the value XXX: If this option is selected by the user, whenever the window is opened, the value XXX will be automatically typed in the control.
  • Versions 18 and later
    Store today's date (Date controls only): If this option is selected by the user, whenever the window is opened, today's date will be automatically typed in the control.
    New in version 18
    Store today's date (Date controls only): If this option is selected by the user, whenever the window is opened, today's date will be automatically typed in the control.
    Store today's date (Date controls only): If this option is selected by the user, whenever the window is opened, today's date will be automatically typed in the control.
  • Store the history of inputs: If this option is selected by the user, when typing the first characters, the different values previously typed in the control are automatically listed.
    Note: This option operates only if the edit control is linked to an item of a data file.
    If the storage of the history of inputs is enabled, an additional option is used to clear the history of inputs.
Note: The "Store" option is available from the popup menu of several types of controls. This option is sued to implement the mechanism of "data persistence". The stored data is saved on the user computer. See Data persistence for more details.
Configuring the menu

Configuring the automatic storage menu in an edit control

The popup menu of the edit control can be disabled. To configure the display of the popup menu associated with the edit control, you must:
  1. Display the description window of Edit control.
  2. Select the "GUI" tab.
  3. Choose the requested menu in the "Popup Menu" combo box. You can:
    • "Display the menu of AAF (System)": In this case, the automatic menu of the edit control will be displayed. See Configuring the menu of AAFs for more details.
    • "Add a popup menu": If this option is checked, you will have the ability to select the custom popup menu to display.
Notes:
  • If both options are checked, the custom popup menu can be added before or after the menu of AAFs.
  • If no option is selected, no popup menu will be selected. The <Disabled> option will be displayed in the description window.
  • ..PopupMenu can also be used to delete the popup menu specific to the AAFs and to restore the standard Windows menu for a specific control.
  • By programming, DisableAAF is used to delete some options from the popup menu of AAFs specific to the edit controls.By programming, AAFDisable (or DisableAAF) is used to delete some options from the popup menu of AAFs specific to the edit controls.
    • to disable the "Store" option, all you have to do is use DisableAAF associated with the aafSaveValue constant. to disable the "Store" option, all you have to do is use AAFDisable (or DisableAAF) associated with the aafSaveValue constant.
    • to disable the options regarding the history of inputs, all you have to do is use DisableAAF associated with the aafHistoryInput constant.to disable the options regarding the history of inputs, all you have to do is use AAFDisable (or DisableAAF) associated with the aafHistoryInput constant.

Configuring the storage and the history of inputs

In the "Details" tab of the description of the edit control, you can specify that:
  • the value of the control must be stored.
  • the history of inputs must be managed.
In this case, the options of the popup menu will be automatically checked for the control in execution.
Minimum required version
  • Version 10
Comments
Click [Add] to post a comment