From: Mattia B. <mb...@ds...> - 2002-02-14 21:46:23
|
> > > in dialogs, the "tab" key moves to the next control... > > > is it possible to use this feature with some TextCtrl's in a sizer too? > > Not tested, but putting the textctrls in a wxPanel should work. > > ( of course you can put the panel in a sizer, or a sizer > > in the panel ) > > > > Regards > > Mattia > > yes, works! thanks... > now i can move with "enter" and "tab" through my textctrls... > > in a textctrl i wish to use wxTE_PROCESS_TAB but this doesn't work... > but wxTE_PROCESS_ENTER works... > because of this i assume that the mistake is not on my side? Somewhat: with wxTE_PROCESS_TAB the textctrl generates key events for TAB presses; hovever if you do not handle the key events ( EVT_CHAR ) for TAB keys, or Skip() them, this triggers the default behaviour ( go to next control ). HTH Mattia |