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" <epicfan@gmail.com> To: <pharo-project@lists.gforge.inria.fr> 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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project