Is it possible to go to named stop point ?
Is it possible to go to named stop point ?
By action or scripting
]]>
< ![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.
]]>
< ![CDATA[
Or choose Go to desktop and position by adding a Navigation item to the desktophttps://lh3.googleusercontent.com/DdPTCNZ1bBl73AavD3xKBct92dw-Lt81zAKCqbrYtS2Gm7hQ3gKd0p2pFMkKgr6cHAH1tiD_Z3k
]]>
< ![CDATA[
Thank you. I”ll try
Goto desktop won’t probably work,it’s in a Panel
]]>
< ![CDATA[
TrianguloY works like a charm
]]>