grtext


(grtext  [ where  msg  [ highlight ]] )

This function writes msg text to specified where statusbar area or screen menu item.

Arguments

where  integer, specifies the location where text is to be drawn; > 0 is screen menu item; -1 is the modemacro statusbar area,  -2 is coordinates area in statusbar

msg  string, the text to be shown

highlight  (optional) integer; screen menu item number to be selected

Return

msg string if successful, NIL otherwise

Example

(grtext)  clears + restores original text;
(grtext -1 "Select any entity ...")

Remarks

highlight  is ignored for statusbar area (where -1 or -2)
see (grarc) and (grfill) functions (specific for BricsCAD)



©  Bricsys NV. All rights reserved.