Equinox Online Help - Language Reference - A to Z

Home

ZoomScreen

Applies to
SyntaxZoomScreen How [, Percentage, NotFonts]
Action[Statement] Changes the size of the dialogs and objects in Equinox data entry forms.
ScopeUsable in Data Entry.
Notes

This functions adjusts the size of the objects on the screen in an Equinox data entry form. The parameter How may take one of the following values:

  • -2 Take no action
  • -1 Disable zooming completely and reset the dialog system to its default size
  • 0 Set the form size to the percentage in the Percentage parameter
  • 1 Adjust the form size incrementally by the value in the Percentage parameter
  • 2 Return the form to its original loaded size.
  • 3 Fill the Equinox window with the form.
  • 4 Display a dialog with various options allowing the operator to resize.

The Percentage parameter is ignored except for values 0 and 1 of the How parameter.

The NotFonts parameter if set to true alters the zoom system so it avoids changing the size of the fonts in the form.

After the statement has executed, the system workarea SysError is non-zero if an error occurred or if -2 was supplied in the How parameter, and the system workarea SysReply contains the current screen magnification as a percentage. The system workarea SysResult contains a value describing the different zoom system states: auto-zoom * 1000 + user-zoom

CategoryForm Management
See Also  
Example

This example prints the current magnification setting of the form.

ScreenZoom -2
print SysReply;"%"

This example increases the magnification of the form by 10%:

ScreenZoom 1, 10

This example doubles the normal displayed size of the form, while leaving fonts the same size:

ScreenZoom 0, 200, 1