Kbase P80413: Dynamics: How to change color of a dynamic lookup ?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  03/06/2004 |
|
Status: Unverified
GOAL:
How to change color of a dynamic lookup ?
FIX:
From the custom superprocedure of a viewer containing the lookup, this can be achieved with the following code:
ASSIGN ghCountryObj = widgetHandle ('country_obj':U).
{get LookupHandle hCountryLookup ghCountryObj}.
ASSIGN hCountryLookup:BGCOLOR = 51
hCountryLookup:FONT = 10.
This code can be adapted to run from other points in the application as well, such as a customization on the lookup itself.