From: Mark D. <mar...@zn...> - 2007-04-30 21:00:22
|
Hi, I can't open rar files here so haven't looked at your code. I assume you have the wxTE_PROCESS_ENTER style set for the TextCtrl? Mark Peter Wilson wrote: > Hi > > I had a few problems before with wxgrid and Mark Dootson did a great job of > helping me out. > > Along the way I upgraded and am now at version > > perl -e"use Wx; print Wx::wxVERSION . qq(\n);" > 2.008003 > > ppm> q wx > Querying target 1 (ActivePerl 5.8.2.808) > 1. Alien-wxWidgets [0.31.1.~ building, finding and using wxWidgets > binaries > 2. Wx [0.73.1.~ ansi interface to the wxWidgets > cross-platform~ > 3. Wx-Demo [0.07] > 4. Wx-Perl-Packager [0.07] > > And am on WinXP. > > Which I installed from the www.wxperl.co.uk ppm > > However it seems some functionality has dropped away and my EVT_TEXT_ENTER > stuff is not working, and even worse seems to trigger other events (in my > main app not the demo one I attach). I have created a small test app with > two tabs one with a grid and one with a text control and I can get an > EVT_TEXT_ENTER event to trigger. If I mod this to an EVT_TEXT event it > works, is this a bug? Or am I doing something really wrong? This is driving > me mad I have spent loads of time trying to chase this down but can find > anything that says the EVT_TEXT_ENTER has gone away. > > I attach a rar file of two files created by wxDesigner as a demo of my > issue. The two lines below are the ones I have an issue with, obviously the > top one is commented out but when I swap them around the EVT_TEXT one works > fine. > > #EVT_TEXT( $this, $main::ID_TEXTCTRL, \&test ); > EVT_TEXT_ENTER( $this, $main::ID_TEXTCTRL, \&test ); > > Peter > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users |