$ScrSize

From m204wiki
Revision as of 22:01, 19 November 2012 by JAL (talk | contribs) (Created page with " Change size of field on SCREEN== This callable function changes the size of a field on a SCREEN. The <var>$ScrSize</var> function accepts t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Change size of field on SCREEN== This callable function changes the size of a field on a SCREEN.

The $ScrSize function accepts two arguments and returns a numeric code indicating its success.

The first argument is the name of the field whose size is to be changed. The field name must be specified as a string that contains the screen name, a colon, and the field name. The screen name should not have a '%' at the start. INPUT:FIELD4 is an example of a valid field name.

The second argument is the new size of the field. The field size can be decreased or it can be increased up to the point where it would overlap another field or run off the end of a screen. It is always possible to extend a field into the "TAG" field (columns 79-80) and it is possible to extend it up to column 132 if the screen had been prepared with a $ScrWide function.