Consultor Eletrônico



Kbase P92515: How To Change the Background Color of a SmartSelect
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   8/25/2004
Status: Unverified

GOAL:

How To Change the Background Color of a SmartSelect

FACT(s) (Environment):

Progress 9.x

FIX:

In order to apply this example of changing the SmartSelect background color you must have, at least, a SmartWindow, an SDO and a SmartViewer with a SmartSelect.

Follow the steps below:

1) Edit the SmartViewer.

2) Add a new procedure as an override of InitializeObject.

3) After RUN SUPER of this procedure add:

def var hselect as handle no-undo.

hselect = DYNAMIC-FUNCTION ('getContainerHandle':U IN h_dynselect).
hselect: BGCOLOR = 5. /*whatever color*/