Progress
AppBuilder
Developer’s Guide
ADM Pages Manager
![]()
The button shown here is available in the Procedure Settings dialog box for objects that are members of the class SmartContainer.
ADM paging allows you to multiplex your display space in useful ways. But once you have a complex, paged design in place, managing all the
SmartObjects can be quite a difficult task. AppBuilder provides the Pages dialog box to help with that.
Using the Pages dialog box, you can:
NOTE: The Pages dialog box only provides help with SmartObjects. Other objects, whether basic 4GL or ActiveX (OCX), are not shown by this dialog box.To open the Pages dialog box, choose Tools
Procedure Settings, or the Procedure Settings button on the Toolbar, then choose the Pages button. Figure A–1 shows the dialog box.
Figure A–1: Pages Dialog Box
![]()
Reviewing the List of SmartObjects Assigned to a Page
To see the list of SmartObjects assigned to any page, click on that page number in the Pages list at the left side, or choose the Page button and enter the desired page number in the small dialog box that opens in response.
NOTE: Choosing to set the page number through the Page button and dialog box only determines which page's contents are displayed in the right-hand list. It does not set the Design Page as it would do in other circumstances.Setting the Design or Startup Page
The paging system identifies two special pages:
See "Special Pages" in "Organizer Objects," for a more complete discussion of the relationship between these pages and the default Page 0 (zero).
To alter where you place future SmartObjects, or which SmartObjects appear at startup, choose the Design... or Start... button as appropriate, and enter the desired number in the dialog box that appears. Note that the dialog boxes are identical apart from the text in their title bars. Be sure you are setting the appropriate value.
Moving a SmartObject Between Two Pages
To move a SmartObject from one page to another, highlight the object in the listing for its current page, choose the Move to Page... button, enter the destination page number in the Move to Page dialog box, and choose OK. Note that you cannot move the object by cutting and pasting the list entry.
Exchanging the Contents of Two Pages
To completely exchange the contents of two pages, one of which might be empty, in a single operation, highlight them both (shift-click to highlight the second) and then choose the Swap Pages button. If one of the pages is empty, the swap operation will be equivalent to a move-all operation.
Deleting a SmartObject from a Page
To delete a SmartObject from a page, highlight the object in the listing and choose the Delete SmartObject button.
Deleting a Page and All Its SmartObjects
To delete a page and all SmartObjects on it, select the page number in the left-hand list, then choose the Delete button. A question box prompts you for confirmation. On completion, the page number will no longer appear in the list. You can easily recreate the page by assigning some SmartObject to it.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |