refreshformarea
AREA

The refreshformarea statement refreshes all or part of the current form window.


Parameters

This statement has one parameter:

area – is the rectangle to refresh (in form coordinates). If this is a zero height and width rectangle the entire form is refreshed Note: You can repeat this parameter to refresh multiple areas.


Description

This statement refreshes all or part of the current form window. This example refreshes a 1 inch high by 2 inch wide area in the top left corner of the form.

refreshformarea rectangle(0,0,72,144)

This example refreshes three 1" squares on a diagonal from the upper left.

refreshformarea rectangle(0,0,72,72),rectangle(72,72,72,72),rectangle(144,144,72,72),

This example refreshes the entire form.

refreshformarea rectangle(0,0,0,0)

In most situations it’s better to use other methods to refresh the form, for example showvariables, showwindowvariables, showvields, etc. However, if there is no field or variable involved, you can perform the refresh using this statement.


See Also


History

VersionStatusNotes
1.0NewNew in this version.