refreshformarea
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

- Aligning Objects
- automaticformname(
- closedialog
- closewindow
- Data Button Object
- Duplicating Objects
- exportform(
- Forms
- formtodatamode
- formtodatamode
- formtographicsmode
- formtographicsmode
- getformoption(
- goform
- goform
- Graphic Design Mode
- Grouping Objects
- importform
- info("datasheetwindows")
- info("formevent")
- info("formname")
- info("formwindows")
- info("horizontalscrollbar")
- info("magicwindow")
- info("procedurewindows")
- info("toolbar")
- info("toolbarvisible")
- info("typeofwindow")
- info("verticalscrollbar")
- info("windowname")
- info("windowoptions")
- info("windowrectangle")
- info("windows")
- info("windowtype")
- info("windowvariables")
- info("windowview")
- Line Object
- listwindows(
- magicformwindow
- magicwindow
- makesecret
- Object Inspection Palette
- Object Library
- openclonewindow
- openclonewindow
- opendialog
- opendialogsheet
- openfarform
- openform
- openprocedure
- opensavedwindows
- opensheet
- originalwindow
- Oval Object
- Polygon Object
- Popup Menu Button Object
- Push Button Object
- Rectangle Object
- rememberwindow
- Rounded Rectangle Object
- setformoptions
- setwindowoptions
- setwindowrectangle
- showrecordcounter
- Smart Resize
- Star Object
- Text Display Object
- Text Editor Object
- Text Label Object
- textlisttableoptions
- views(
- Web Browser Object
- window
- windowcornerinitialize
- windowinfo(
- windowname
- windowtocorner
- zoomalign
- zoomwindow
- zoomwindowrectangle

History

Version | Status | Notes
1.0 | New | New in this version.