Program Editor |
|
The PxPlus graphical program editors, *IT - Integrated Toolkit and Ed+, are fully integrated with the Panel Designer for composing and modifying Events Logic. The default program editor is the *IT - Integrated Toolkit. To make Ed+ the default program editor, change the setting for the %NOMADS'Program_Editor property to Ed+.
(The ability to set Ed+ as the default program editor was added in PxPlus 2023.)
Click the Program Logic button beside the Perform or Call actions to edit the specified event-handling program "program;label".
If both program and label exist, the cursor in the program editor window will be positioned automatically at the specified label so that you can begin editing at that location in the program.
If the program does not exist, it will be created for you as the program editor is launched.
If the specified label does not exist, new LABEL and RETURN statements will be placed at the bottom of the existing program for you.
Depending on the criteria for the panel or control logic, the following naming conventions are applied to create the specified label within the program editor:
Label |
Panel or Control Logic |
PREDISPLAY_panel |
Panels, Pre-Display |
POSTDISPLAY_panel |
Panels, Post-Display |
ONEXIT_panel |
Panels, On Exit |
INITIALIZE_control |
All controls, Post Create (or Prior Create for Button) |
FOCUS_control |
All controls, On Focus |
PROCESS_control |
All controls, On Change |
VALIDATE_control |
Multi-Line Validator logic |
FORMAT_control |
Multi-Line Formatter logic |
BACKGROUND_control |
List Box and Grid, Background Loading |
DEMAND_control |
List Box, Load on Demand |
CELL_FOCUS_controlCnRn |
Grid, On Focus for cell (column/row) |
CELL_CHANGE_controlCnRn |
Grid, On Change for cell (column/row) |
CELL_VALIDATOR_controlCnRn |
Grid, Validator logic for cell (column/row) |
CELL_FORMATTER_controlCnRn |
Grid, Formatter logic for cell (column/row) |
PRELOAD_control |
Smart Controls, Pre-Load |
POSTLOAD_control |
Smart Controls, Post-Load |
eventname_control |
COM control event name |
Where:
control |
Control name |
panel |
Panel name |
CnRn |
Cell column number or name and row number |
eventname |
Event name (See Defining a COM Control for information on defining events for a COM control.) |