PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Overview
  • Configuring the menu
  • Configuring the automatic storage menu in an edit control
  • Configuring the storage and input history
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 Edit controls, a "Remember" menu allows users to set the options for storing the values entered in the control.
The following options will be available:
  • Remember last value entered: If the user selects this option, each time the window is opened, the last value entered by the user will be automatically displayed in the control.
  • Remember XXX: If the user selects this option, each time the window is opened, the XXX value will be automatically entered in the control.
  • Versions 18 and later
    Remember today's date (Date controls only): If the user selects this option, each time the window is opened, the current date will be automatically entered in the control.
    New in version 18
    Remember today's date (Date controls only): If the user selects this option, each time the window is opened, the current date will be automatically entered in the control.
    Remember today's date (Date controls only): If the user selects this option, each time the window is opened, the current date will be automatically entered in the control.
  • Remember input history: If the user selects this option, when the first characters are typed, the different values previously entered in the controls appear automatically.
    Remark: This option is available only if the Edit control is bound to an item in a data file.
    If the storage of the input history is enabled, an additional option is used to clear the input history.
Remark: The "Remember" option is available in the context menu of different types of controls. This option is sued to implement the mechanism of "data persistence". The stored data is saved on the user computer. For more details, see Data persistence.
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. Open the Edit control description window.
  2. Select the "UI" tab.
  3. Choose the desired 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. For more details on how to configure this menu, see Configuring the AAF menu.
    • "Add a popup menu": If this option is checked, you can select the custom context menu to be displayed.
Remarks:
  • If both options are checked, the custom context menu can be added before or after the AAF menu.
  • If no option is selected, no context menu will be selected. The <Disabled> option will be displayed in the description window.
  • The PopupMenu property is also used to remove the AAF-specific context menu and restore the standard Windows menu for a given control.
  • By programming, AAFDisable is used to delete some options from the popup menu of AAFs specific to the edit controls.
    • to disable the "Remember" option, simply use AAFDisable with the aafSaveValue constant.
    • to disable the input history options, simply use AAFDisable with the aafHistoryInput constant.

Configuring the storage and input history

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