Progress
ADM 2 Guide


SmartPanel Usage Notes

This section discusses special programming considerations for using SmartPanels.

Resizing SmartPanels at Design Time

SmartPanel instances are resizable at design time. All buttons are resized and reconfigured by the resizeObject procedure in the file panel.p. You can make SmartPanel buttons larger or smaller, rearrange them in rows, or make their display vertical instead of horizontal. Buttons that you add to a SmartPanel are automatically resized with the other buttons.

SmartPanels as Toolbars

In previous ADM releases, a common way to provide toolbar-type functionality in Progress applications was to use a Navigation SmartPanel and an Update SmartPanel collectively as a sort of toolbar. If the containing SmartObject is a SmartWindow, this is no longer necessary, as you can now use a SmartToolbar instead: a SmartObject that provides a toolbar and/or menu interface to application commands such as running other windows or procedures or performing navigation and transaction actions in the current object. For details, see the "SmartToolbars" section.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095