News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

wxSmith and tab order

Started by Jan van den Borst, September 11, 2007, 09:15:56 PM

Previous topic - Next topic

Jan van den Borst

How can I set the tab order of controls in wxSmith?

Jan

byo

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

Grom

Byo, could you pls add row and col number to the wxTable. Those are only few more commands.
gcc+winXP+suse.

Jan van den Borst

Is it perhaps possible to hack the .wxs file manually (first entry has lowest TAB order) ?
Jan

byo

Quote from: Jan van den Borst on September 11, 2007, 11:43:18 PM
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

Jan van den Borst


byo

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

byo

In reply to http://forums.next.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

Grom

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.
gcc+winXP+suse.

byo

Quote from: Grom on September 16, 2007, 10:38:48 PM
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