Consultor Eletrônico



Kbase 18069: SmartDataBrowser and MOVABLE / SELECTABLE Attributes
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   25/11/2008
Status: Verified

GOAL:

How to use selectable and movable attributes within a SmartDataBrowser.

GOAL:

SmartDataBrowser MOVABLE Attributes

GOAL:

SmartDataBrowser SELECTABLE Attributes

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x

CAUSE:

When making the browse widget within a SmartDataBrowser movable and selectable it appears at runtime that you cannot move or select the SmartDataBrowser. The reason this occurs is because you can only move a browser within the frame that contains it.

The SmartDataBrowser object is actually a browse widget contained on a frame and that frame's property sheet size-to-fit attribute defaults to be TRUE, so the frame will be the same size as the browse widget unless there are other objects placed on this frame.

FIX:

There are two potential solutions for making the browser of a SmartDataBrowser movable and selectable:

Solution #1

1) Make the frame of the SmartDataBrowser larger than the browse widget and turn off the frame's size-to-fit attribute. When this SmartDataBrowser is run on a SmartWindow the user will be able to select the browse widget and move it within its frame.

2) Instead of making the browse widget within the SmartDataBrowser movable and selectable, make its frame movable and selectable. When this SmartDataBrowser is run on a SmartWindow the user will be able to select the SmartDataBrowser's frame (which appears as if you are selecting the browser because the browser and frame are the same size) and move it anywhere on the SmartWindow.

Solution #2

More user-friendly because the user will be able to move the SmartDataBrowser where they would like within the SmartWindow rather than being confined to the SmartDataBrowser's frame which they may not be able to see the limits of (if the frame is defined without a box).