Is it possible to go to named stop point ?

Is it possible to go to named stop point ?

By action or scripting

]]>
« (Previous Post)
(Next Post) »

4 Commentsto Is it possible to go to named stop point ?

  1. Anonymous says:

    < ![CDATA[

    Try this.



    var label = getEvent().getData();


    var c=getEvent().getContainer();


    var i=c.getItemByName(label)


    c.setPosition(i.getPositionX()+i.getWidth()/2-c.getWidth()/2,i.getPositionY()+i.getHeight()/2-c.getHeight()/2,1,true);



    Pass the name of the stop point (or any item) and the container will be centered on that item. It assumes the item is not scaled nor rotated, but can be changed easily. Also can be changed so that the item is moved to a corner instead of centered, or other small modification.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Or choose Go to desktop and position by adding a Navigation item to the desktophttps://lh3.googleusercontent.com/DdPTCNZ1bBl73AavD3xKBct92dw-Lt81zAKCqbrYtS2Gm7hQ3gKd0p2pFMkKgr6cHAH1tiD_Z3k

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Thank you. I”ll try


    Goto desktop won’t probably work,it’s in a Panel

    ]]>

  4. Anonymous says:

    < ![CDATA[

    TrianguloY works like a charm

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *