SET ABOUT
SET ABOUT ( itemText ; method )
Parameter | Type | Description | |
---|---|---|---|
itemText | Text | → | New About menu item text |
method | Text | → | Name of method to execute when menu item is chosen |
This command is not thread-safe, it cannot be used in preemptive code.
Description
The SET ABOUT command changes the About 4D menu command in the Help menu (Windows) or in the Application menu (macOS) menu to itemText.
After the call, when a user selects this menu command in Design or Application mode, method will be called. Typically, this method can open a dialog box to give version information about your application.
This command is used with 4D (all modes), 4D Desktop and 4D Server. A new process is created when it is run on a server machine.
Note: On Windows, this command modifies the "About 4D" line in the Help menu created by the SET HELP MENU command.
Example 1
The following example replaces the About menu command with the About Scheduler menu command. The ABOUT method displays a custom About box:
SET ABOUT("About Scheduler…";"ABOUT")
Example 2
The following example resets the About 4D menu command:
SET ABOUT("About 4D";"")