Kbase 21975: How To Change the Background Color of a SmartSelect
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  17/04/2002 |
|
SUMMARY:
This Knowledge Base Solution applies to Progress Version 9.
It shows you how to properly change the background color of an SmartSelect.
SOLUTION:
To apply this example you would have, at least, a SmartWindow, an SDO and a SmartViewer with a SmartSelect.
Steps:
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*/