1. I have always work with owners in ProportionalLayout, don´t let work with another layoutPolicy in the canvas designer. In view designer exists the possibility of "anchor" a widget to top, left, down and right. That is all need the user ( for the moment ) for anchor a widget, but fails to change size and position.Exists the possibility of do it in ProportionalLayout on owner? 2. Then i understand than changing the order of submorphs that works? I will probe. Regards and many thanks. 2009/9/14 Gary Chambers (via Nabble) < ml-user+180091-2119438362@n2.nabble.com<ml-user%2B180091-2119438362@n2.nabble.com>
1. position/extent depends on how thae morph is laid out in its owner. LayoutFrame is used when the owner specified a proportional layout, use the
fractions to pin corners and the offsets to.. offset. If the owner specifies no layout then postion/extent work as expected. For table layouts things are more complicated (see hResizing/vResizing etc.)
2. Tab order (keyboard navigation) follows the order of the submorphs at present. Add your morphs (using addMorphback: or via the Polymorph row/column type stuff) in the order you want navigation to follow.
Regards, Gary
----- Original Message ----- From: "nullPointer" <[hidden email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3641268&i=0>>
To: <[hidden email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3641268&i=1>>
Sent: Sunday, September 13, 2009 9:48 PM Subject: [Pharo-project] Polymorph - TabIndex and layoutFrames questions
1- How i can change the #position or #extent of a Morph with a
layoutFrame
setted ?
for example, i have a button "anchored" to top and right; if i set the #position: of that button the position don´t change. Then i try override the #position: accessor of my button; first set #layoutframe: to nil, later do the set normally of #position: and later set again the old value of #layoutFrame: , for remain the original anchors. But don´t works. Well, if I execute the code in a WorkSpace, line to line, then works! but don´t if execute all code. I don´t understand :|
2- How works the tab index mechanism in Polymorph?
in some of my Views i have controls with unordered tab order in controls.
How i can change the order? I don´t see nothing for start.
3- Exists the possibility of change the position of cursor of a textbox?
Regards, and thanks for the help
-- View this message in context:
http://n2.nabble.com/Polymorph-TabIndex-and-layoutFrames-questions-tp3638041...
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list [hidden email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3641268&i=2> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list [hidden email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3641268&i=3> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
------------------------------ View message @ http://n2.nabble.com/Polymorph-TabIndex-and-layoutFrames-questions-tp3638041... To unsubscribe from Polymorph - TabIndex and layoutFrames questions, click here< (link removed) >.
-- View this message in context: http://n2.nabble.com/Polymorph-TabIndex-and-layoutFrames-questions-tp3638041... Sent from the Pharo Smalltalk mailing list archive at Nabble.com.