Consultor Eletrônico



Kbase 19389: Highlighting A SmartContainers TitleBar
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   14/11/2008
Status: Verified

GOAL:

Highlighting A SmartContainers TitleBar

GOAL:

How to highlight a SmartContainer Titlebar?

FACT(s) (Environment):

Progress 8.X
Progress 9.X
OpenEdge 10.x

FIX:

When running a SmartContainer from a SmartWindow, the SmartContainer will run but the TitleBar is grayed out.

Create a new SmartWindow which will be page (0) and place a Button on it. Then place a SmartContainer 'cntnrwin.w' on the SmartWindow and make it page (2). The trigger code behind the button is:


RUN viewPage (2).
Now run the application and click on the button. The container is visible but its TitleBar is grayed out. One way to highlight the TitleBar is to apply entry to an object which is part of the SmartContainer. For this example, if a Fill-in object is on the SmartContainer, you can then apply entry to the object. The trigger code behind the button is:


DO:
RUN viewPage (2).
RUN applyEntry IN h_cntnrwin ("fill-in-1").
END.
Running the application will now show the highlighted TitleBar.