WINDEV Concepts
144 Part 4: Advanced concepts UMC: User Macro- Code The User Macro-Code (UMC) allows end users to enter their own WLanguage code and include it in an existing application. Let’s consider the following case: A window for entering a customer form requires an email address but it does not check its format. The user wants to check if the "@" character is in the address. An icon at the top of the window allows the user to customize the processes. The UMC configurationwindow is displayed. A new action can be added by the user for this window. In this case, the email address is checked. The user types theWLanguage code. The F1 key is used to display theWLanguage help. To enable this feature (which is disabled by default), simply specify that the project supports the UMC: • in the project description, • when creating the executable.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==