skip to main content

Working With Controls : Creating a control : Modifying a control

Modifying a control
The MODIFY Statement can be used to change a single property or to set or reset a style. Generally, the best way to interact with a control is to change only the properties that need to be changed.
The syntax of the MODIFY Statement is:
Format 1
location is defined as follows:
property-option can be one of the following:
Format 2
When more than one property or style are changed with the same MODIFY Statement, the changes occur in the exact order they are written. The statement
MODIFY MyEntryField, ENABLED = 1, VALUE = "New value"
produces the same effect than the following distinct statements:
MODIFY MyEntryField, ENABLED = 1
MODIFY MyEntryField, VALUE = "New value"
Generally speaking, we recommend the use of the MODIFY Statement, unless a lot of controls are to be changed at the same time. If your program uses a number of controls to display the content of a record and you load a new record, you should update the screen displaying the whole Screen Section that defines all the controls. Modifying every single control may be slower.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left