Consultor Eletrônico



Kbase P35670: How to properly change Microsoft ProgressBar OCX Control's a
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   06/08/2003
Status: Unverified

GOAL:

How to properly change Microsoft ProgressBar OCX Control's attributes at runtime?

FIX:

References to attributes must be made at the ProgressBar object level, not at the CtrlFrame widget-handle or chCtrlFrame component-handle variables level. E.g.:

ASSIGN
chCtrlFrame:ProgressBar:Appearance = 0 /* ccFlat */
chCtrlFrame:ProgressBar:MAX = 100
chCtrlFrame:ProgressBar:MIN = 0
chCtrlFrame:ProgressBar:VALUE = 50.

The following does not work properly:

chCtrlFrame:Appearance = 1. /* cc3D */