PC SOFT

WINDEV的在线文档

  • Overview
  • Configuring the menu
  • Configuring the automatic storage menu in an edit control
  • Configuring the storage and the history of inputs
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

Overview
In the edit controls, a "Store" menu allows the user to define the options for storing the values entered in the control.

This enables 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 entered 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 entered in the control.
  • 18版本和更高版本
    Store today's date (Date controls only): If this option is selected by the user, whenever the window is opened, the date of the day will be automatically entered in the control.
    18新版本
    Store today's date (Date controls only): If this option is selected by the user, whenever the window is opened, the date of the day will be automatically entered in the control.
    Store today's date (Date controls only): If this option is selected by the user, whenever the window is opened, the date of the day will be automatically entered 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 entered 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 Persistence of data 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 the Edit control.
  2. Select the "GUI" tab.
  3. Choose the requested menu in the "Popup Menu" combo box. You can:
    • "Display the menu of AAFs (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.
  • ..上下文菜单 can also be used to delete the popup menu specific to the AAFs and to go back to the standard Windows menu for a specific control.
  • By programming, 禁用应用程序自动功能 is used to delete some options from the popup menu of AAFs specific to the edit controls.

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.