Zoom Window Rectangle

Scott Corbett scott at stillpoint.us
Wed May 14 20:07:21 PDT 2008


I have gotten used to the ease of using rectangles to specify window  
positions and size changes. I haven't seen a command that allows a  
zoom function using rectangles, so I wrote my own (first ever) custom  
statement. I wonder if this already exists somewhere or if anyone has  
suggestions for features or error checking that would help this be a  
better procedure.

ZOOMWINDOWRECTANGLE

/*
Performs a ZoomWindow using rectangle dimensions.
<PARAMETER NAME=RECTANGLE TYPE=TEXT> Rectangle to Zoom the window.</ 
PARAMETER>
<PARAMETER NAME=OPTS TYPE=TEXT> Window options. </PARAMETER>
*/

ZoomWindow  
rtop 
(Parameter 
(1 
)),rleft 
(Parameter(1)),rheight(Parameter(1)),rwidth(Parameter(1)),Parameter(2)


Any suggestions would be appreciated.

Scott


More information about the Qna mailing list