--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote:
>
> > .addproperties(" top: "++ypos-1++" bottom: "++ypos+1);;+
> > .addproperties(" left: "++0++" right: "++xpos-1);;+
> >
> 
> .setrect can replace above two lines, if you want.  It does the 
> addproperties for you if cl is not a bar yet.

Ah I see, I will. However, before doing it, could you turn off the
error messsage of cl.setrect of "should be positive width & height",
or at least allow zero width/height? I had to modify as:

from

xcrosshair1.setrect(0, ypos-1, xpos-1, ypos+1)
xcrosshair2.setrect(xpos+1, ypos-1, xscreen, ypos+1)
ycrosshair1.setrect(xpos-1, 0, xpos+1, ypos-1)
ycrosshair2.setrect(xpos-1, ypos+1, xpos+1, yscreen)

to

xcrosshair1.setrect(-2, ypos-1, xpos-1, ypos+1)
xcrosshair2.setrect(xpos+1, ypos-1, xscreen+1, ypos+1)
ycrosshair1.setrect(xpos-1, -2, xpos+1, ypos-1)
ycrosshair2.setrect(xpos-1, ypos+1, xpos+1, yscreen+1)

I haven't have this error message with win.setrect() and there was no
problem with using the first one.

Sean






Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/power-pro/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to