Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Jan van den Borst on September 11, 2007, 09:15:56 pm
-
How can I set the tab order of controls in wxSmith?
Jan
-
Hmm, if you use sizers, they automatically set tab order, if you don't use them... hmm, curently no feature dedicated to this. It can be done by some trick (by moving all items to some temporary panel and put them back one after another in required order), but that may introduce some problems.
Regards
BYO
-
Byo, could you pls add row and col number to the wxTable. Those are only few more commands.
-
Is it perhaps possible to hack the .wxs file manually (first entry has lowest TAB order) ?
Jan
-
Is it perhaps possible to hack the .wxs file manually (first entry has lowest TAB order) ?
Jan
Yup, this could be done either through wxs or through xrc (if used). The order in which items appear in wxs/xrc is the final tab order.
I'll also try to implement some easy right-click popup menu with stuff like "Bring to front" and "Put to bottom" - this also could be used to set valid tab order.
BYO
-
great!!!
-
Ok, done, should be in next nightly. To set correct tab order, just right-click on each item in resource in desired order and select "Bring to front" (if it's available).
Regards
BYO
-
In reply to http://forums.codeblocks.org/index.php/topic,6912.msg52941.html#msg52941 (http://forums.codeblocks.org/index.php/topic,6912.msg52941.html#msg52941):
I think that those names are correct because they change z-order. It may additionaly be used to change tab order since z-ordering and tab-ordering in wxWidgets are simillar. Of course I can adjust the names a little bit.
BYO
-
Would be grate to make possibility of changing of the folder for the wxSmith files. Say I want to keep the GUI stuff in sub folder of my project. But I can't do that.
-
Would be grate to make possibility of changing of the folder for the wxSmith files. Say I want to keep the GUI stuff in sub folder of my project. But I can't do that.
Grom: Please, send feature request into berlios, this topic isn't about new features but about tab-order ONLY