Feature Requests item #1557173, was opened at 2006-09-12 09:08
Message generated for change (Comment added) made by hansonr
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379136&aid=1557173&group_id=23629

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Priority: 5
Submitted By: Angel Herraez (aherraez)
>Assigned to: Bob Hanson (hansonr)
Summary: positionable echo using percent

Initial Comment:
New positionable echo allows giving a position in
pixels from top and left. I would like to also have
percent of applet width and height.
That way, one could make scripts that will work with
different applet sizes. Say:

        set echo myecho 80% 20%

meaning "locate text at 80% from left of applet pane
and 20% from top".
So, calculate as xPixels = 80% * appletWidth
and yPixels = 20% * appletHeight
then send 
      set echo myecho xPixels yPixels


----------------------------------------------------------------------

>Comment By: Bob Hanson (hansonr)
Date: 2006-09-13 16:07

Message:
Logged In: YES 
user_id=1082841

done. 

set echo myecho 0% 0%     # bottom left
set echo myecho 0% 100%     # top left
set echo myecho 100% 100%     # top right
set echo myecho 50% 50%     # dead center



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379136&aid=1557173&group_id=23629

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to