PC SOFT

WINDEV的在线文档

  • Overview
  • How do I proceed?
  • Starting the wizard for UMC management
  • Adding a User Macro-Code
  • Sending the User Macro-Codes by email
  • Limitations
  • Code entered in the User Macro-Codes
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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
The User Macro-Codes are sections of WLanguage code allowing the end user to customize his application.

A wizard helps you enter this code.

How do I proceed?

Starting the wizard for UMC management

If the window allows the input of a User Macro-Code, the iconis displayed:
  • until Windows XP: beside the minimize button of the window.
  • from Windows Vista: below the title bar.
When this icon is clicked, a wizard is displayed, allowing the end user to create and use his own user macro-codes.

Note:

  • To start the UMC, you also have the ability to press [Windows] + [F2].
  • The wizard can also be started via a custom button. To customize the UMC button, create a new button, associated with the preset action "Open the edit window of User Macro-Code". In this case, the default button will not be displayed anymore. The new button can be positioned anywhere in the window.

Adding a User Macro-Code

To add a User Macro-Code:
  1. Start the wizard for UMC management (by default).
  2. Click the "Add a User Macro-Code" button.
  3. Specify the type of action for which the custom process will be created: Action on a control or on a combination of keys.
  4. If you want to perform a process on a control:
    • Select the relevant control. A table lists the controls found in the application as well as their caption. You can also directly select the control in the window with the "Select the control" button.
    • Select the action to customize and the execution time of the custom action.
    • A simplified code editor is displayed, allowing you to enter the title of the macro and the WLanguage code of the User Macro-Code.
  5. If you want to perform a process on a key combination:
    • Specify the relevant key combination.
    • A simplified code editor is displayed, allowing you to enter the title of the macro, the execution time and the WLanguage code of the User Macro-Code.
  6. In the simplified code editor:
    • the syntactic coloring is available.
    • the help for the WLanguage functions is available.
    • The test of the code entered can be run directly.
    • You have the ability to display the list of controls in order to handle another window control.
  7. Validate. The macro-code is added and it is immediately available.

Sending the User Macro-Codes by email

The created User Macro-Codes can be emailed if this feature was allowed by the developer of the application.

To email the User Macro-Codes:

  1. Start the wizard.
  2. Click the "Send the code" button.
Caution: this feature is not available for the applications installed with an automatic update from a network directory. In this case, the UMC files are copied into the shared network directory.

Limitations

Code entered in the User Macro-Codes