Repaints a control, browse, or form.
The <OBJECT>.REPAINT() method applies to:
- Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
- Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)
- Form Controls (for <OBJECT> use the <CONTROL> pointer or the address of the control)
The <OBJECT>.REPAINT() method re-displays a control, browse, or form. In some very rare situations, an Alpha Anywhere form may not repaint properly after you perform some action. You can now force objects on the form to repaint. For example, if a browse did not repaint properly after you navigated to a new record, the topparent:browse1.repaint() method would repaint the browse object called browse1.
dim ptr as P dim fld as P ptr = form.load("Customer Information") ptr.show() fld = ptr.Child("Lastname") fld.text = "Lincoln" fld.Repaint()
Desktop applications only.