This one is driving me NUTS!
Using 2.4.2.4 on WinXP
I have a number of instances of a sub-class of wxTextCtrl on a form.
It's a pretty straightforward control but it has a few simple, but
strict rules regarding which part of its contents can be highlighted and
when. Now, everything works just fine when I use the mouse to enter the
field. However, if I use the tab key to enter the control then its
entire contents is selected and I can't find any way to prevent it. This
seems to be the default behaviour of wxTextCtrl, at least on MSW so I
don't think it's anything I'm doing in my class. I've tried
EVT_SET_FOCUS, EmulateKeyPress and one or two other things, but to no
effect.
Does anyone have any ideas? Any help would be much appreciated.
KJO
ยทยทยท
----------
Notice: This message contains information that may be confidential and/or privileged. If you are not the intended recipient, you should not use, disclose or take any action based on this message. This message does not constitute investment advice.