GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Nine — Dialog Functions (continued)
Overview
The ControlUpdate function forces a control to update its status and paint.
Syntax/Parameters
Syntax
int = ControlUpdate ( int id, [boolean erase] );
Parameters
id
An int that identifies the dialog control to update.
erase
An optional boolean parameter that tells Windows to erase the background and start over with painting. This will remove any painting errors or artifacts but may also cause flicker when repeatedly called. In addition, repainting is an expensive operation with respect to processing.
Return Value
An int specifying ERROR_NONE (0) on success, ERROR_RANGE on bad control ID, or ERROR_INVALID_HANDLE.
Remarks
When performing long sequences of processing within a dialog, the action of setting control data may not update in a timely manner. This function forces an update.
This function can only be used within a dialog procedure. If a dialog page is not active, the function will fail.
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Legato IDE, Legato Basic
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.