ASNA Mobile RPG® Reference Manual |
The Mobile RPG Display File Editor
As of version 8.0, Mobile RPG has an optional interface called the Display File Editor: a nested treeview of each control included in the mobile RPG app. The Editor displays icons, names, and type of controls, while allowing for precise drag and drop positioning.
Activating the Display File Editor
The Display File Editor is activated as soon as the developer selects a particular control while viewing an .aspx page (such as the default .aspx page generated by the CRUD Wizard). in Visual Studio's Webforms Designer.
Using the Display File Editor
The Display File Editor has five columns that break down several vital facets of each control in the .aspx page.
- Control — A collapsible treeview that diplays an icon and type for each DDS control; non-DDS controls appear as raw HTML.
- RPG Name — The name of the control as it appears in the RPG Program.
- RPG Type — The type of the control in the RPG Program.
- Indicators — RPG indicators used by the control.
- ID — The ID of the control, used by the browser to distinguish between instances of the same control type.
The developers can drag and drop most controls in the editor (except DdsFiles and DdsRecords) anywhere that does not violate MobileRPG's Validation. Any changes will be reflected immediately in the Design View.
Also, anchored to the lower right corner is the Rebuild View button. This allows the developer to refresh the Display File Editor after making changes in other views (the design view or directly in code).
Other options can be accessed by right clicking a control, which opens up a context menu containing:
- Expand All — Expands all controls under the selected control.
- Collapse All — Collapses all controls under the selected control.
- Show Property Tasks — This option opens the Property Tasks window for the selected control.
- Cut — Removes the current control, along with all child controls, and saves it to the clipboard.
- Copy — Saves a copy of the selected control and all child controls onto the clipboard.
- Paste — Pastes any controls saved to the clipboard at the current location (if doing so doesn't void validation).
- Delete — Completely deletes the selected control.
- Insert <br/> — Inserts a line break HTML character (a sub menu lets the developer choose to insert before or after the selected control).
Various options may be grayed out depending on which position or element is selected.