![]()
CAL Box Creation Commands |
CommandsDBOX coords [fieldname] FRAME coords [text] TEXT coords [text] PICT coords [filename] BUTTON coords [scriptname] SUBFM coords ARROWBOX coords FRAMEDBOX coords [fieldname] [text] To create a new box on the form:
If the text string is omitted, you can supply it later using SETFIELD or SETTEXT. For a button, you must use SETTEXT if you want its visible label to be different from the name of its script. Box coordinates are specified in this order: left, top, right, bottom. Units are in pixels; the origin is at the upper left, with coordinates increasing from left to right and top to bottom, so that coordinates will range from left = 0 to right = 640 or 1024 or whatever fits your screen, and from top = 0 to bottom = 480 or 768 or similar. When a new box is created, it adopts the current font. To specify a particular font for a box, use the FONT command prior to creating the box. When specifying a script name, give one of the following:
Examples
|
©2005 CambridgeSoft Corporation. All Rights Reserved. Privacy Statement Tel 800 315-7300 / 617 588-9300 Fax 617 588-9390 Email info@cambridgesoft.com CambridgeSoft Corporation, 100 CambridgePark Drive, Cambridge, MA 02140 USA |