
This method is intended to force all GraphicButtons to repaint themselves. This method is useful when controlling transparency of GraphicButtons. This method is intended to be called after the GraphicButton(s) has first been hidden, then reshown.
Returns the following according to the situation:
The recommended convention is passing the control identifier directly:
Copy Code |
|---|
(Odcl_FlushGraphicButtons MyDialogReference [as Reference] ) |
An alternative convention is to identify the control by providing the project file, the dialog name and the control name:
Copy Code |
|---|
(Odcl_FlushGraphicButtons ProjectFile [as String] DialogName [as String] ) |
Copy Code |
|---|
; Flush all the graphic buttons of my form (Odcl_Control_SetProperty MyProject_MyForm_MyGraphicButton "Visible" Nil) (Odcl_Control_SetProperty MyProject_MyForm_MyGraphicButton "Visible" T) (Odcl_FlushGraphicButtons MyProject_MyForm) |