Kbase P49554: ADM2. How to get the handle of the visualizer widget of the smartSelect
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  04/05/2005 |
|
Status: Unverified
GOAL:
How to get the handle of the visualizer widget of the smartSelect
FIX:
The widget that actually represents the visualization of the smartSelect is the FIRST-CHILD of the FIRST-CHILD of the Container object. So if you want to change the font of the visualization and you have available the handle of the smartSelect (h_dynselect in this sample) you can write the following:
DEFINE VARIABLE hWidget AS HANDLE NO-UNDO.ASSIGN hWidget = DYNAMIC-FUNCTION('getContainerHandle':U IN h_dynselect) hWidget = hWidget:FIRST-CHILD hWidget = hWidget:FIRST-CHILD hWidget:FONT = 2.