Navigator > Setup > Report Designer > Design Window > [Select a component] > Double-click / (F2) / (Alt+Down) - OR -
Navigator > Setup > Report Designer > Property Editor >
Open Code Editor (F2) button on a (Code) Property
Open the Code Editor by double-clicking a component in the Design Window, or select the component, press F2 or Alt+Down. You can also click the
Open Code Editor (F2) button in a (Code) Property in the Property Editor. For report design, this button is located in Property Editor on the:
Enter MaxBasic code, or the value of an expression property, or select an item from a menu to insert in Code Editor at the pointer position. You can construct statements and expressions. Code Editor in Report Designer is a modal window. The code "belongs" to the band property or the expression being edited.
See also Script Editor and Script Editor Shortcut Keys. To change the font of components see Font Properties.
To access the Code Editor Context Menu, right-click in the script editor window, or press Shift+F10.
You can insert Automated code snippets in the Code Editor, see Automated Snippets.
Drop down menus |
|||
|
Operators |
Lists MaxBasic operators. |
|
|
Objects |
Lists the objects and components available from the code. Components placed in the report will appear here. When you select a property it will appear in the code. |
|
|
Functions |
Lists the functions available. When you select a function that expects arguments, parentheses and commas for the arguments are shown with the pointer at the first argument, for example, Help for a function, detailing the arguments, is available from the final option in the menu, or by pressing |
|
|
Components |
Lists properties of the components available. |
|
|
Automated |
Lists Automated objects. Documentation for an object is available from the final option in the menu. |
|
|
Procedures |
Lists Function and Sub procedures imported into, the script. Use |
|
|
Help |
Access resources including descriptions, documentation and sample code. |
|
|
Snippet |
Insert a code Snippet. Snippets are listed alphabetically, and the first line of each snippet is displayed. |
|
Editor buttons |
|||
|
Set / Clear Breakpoint |
Set a code breakpoint on the current line. Click again to toggle to clear the breakpoint. You can also click to the right of a line to set or clear a breakpoint. Hover the mouse over a breakpoint, then right-click to make a breakpoint unavailable, or access the Breakpoint Properties. If a condition has been set for a breakpoint, it will be shown when you hover over the breakpoint. Note: Breakpoints are not available in Expression Editor. |
|
|
Save |
Accept changes made to the code, and close the Code Editor window. |
|
|
Cancel |
Ignore changes made and close the Code Editor window. |
|