Re: wxGlade Generated Code

2009-08-16 Thread Johan Vromans
"Steve Cookson" writes: > I have looked at them, but I didn't totally understand how they work. > I'm using them for integer entry and time entry, but field lookup, > I'm not clear what I should do. Do you think I can use the validators > for lookup? The validator's Validate method is supposed

RE: wxGlade Generated Code

2009-08-15 Thread Steve Cookson
: Johan Vromans [mailto:jvrom...@squirrel.nl] Sent: 15 August 2009 14:16 To: Steve Cookson Subject: Re: wxGlade Generated Code "Steve Cookson" writes: > So if I want to detect tabbing out of a field > to trigger validation, I use the lose focus event (EVT_KILL_FOCUS) on > the

RE: wxGlade Generated Code

2009-08-14 Thread Steve Cookson
I'll play around with them in the background and let this forum know how I get on. Thanks again. Regards Steve -Original Message- From: Ryan Jendoubi [mailto:ryan.jendo...@googlemail.com] Sent: 14 August 2009 12:10 To: wxPerl users Subject: Re: wxGlade Generated Code [ Sorry aga

Re: wxGlade Generated Code

2009-08-14 Thread Ryan Jendoubi
[ Sorry again all for my double postings ] Hi Steve, Steve Cookson wrote: So that's how it works! So if I want to detect tabbing out of a field to trigger validation, I use the lose focus event (EVT_KILL_FOCUS) on the control. But alt-tab (and I guess alt-esc etc) to another app also trigger

Re: wxGlade Generated Code

2009-08-14 Thread Ryan Jendoubi
Hi James, GMAIL - James McDonald wrote: I am not really understanding the event subsystem very well. Of course I have looked at the documentation but due to my lack of understanding I still am not grasping the concept. I have little idea of what $event->Skip means and where in the block it sho

RE: wxGlade Generated Code

2009-08-14 Thread Steve Cookson
Steve -Original Message- From: Ryan Jendoubi [mailto:ryan.jendo...@googlemail.com] Sent: 14 August 2009 11:03 To: wxPerl users Subject: Re: wxGlade Generated Code [ Apologies if this was received before; I think I had a problem after changing my subscription address, and it wasn't sho

Re: wxGlade Generated Code

2009-08-14 Thread Ryan Jendoubi
[ Apologies if this was received before; I think I had a problem after changing my subscription address, and it wasn't showing up on nntp.perl.org~ ] Hi James, GMAIL - James McDonald wrote: I am not really understanding the event subsystem very well. Of course I have looked at the documentati

RE: wxGlade Generated Code

2009-08-14 Thread Steve Cookson
27;wxperl-users@perl.org' Subject: RE: wxGlade Generated Code Hi Johan, Yes it's true I don't change it when I have a simple form. But most of my forms are more complicated so I have to create them programmatically. Eg I have a form with a wxNotebook with a variable number of ta

RE: wxGlade Generated Code

2009-08-14 Thread Steve Cookson
Original Message- From: Johan Vromans [mailto:jvrom...@squirrel.nl] Sent: 14 August 2009 09:27 To: wxperl-users@perl.org Subject: Re: wxGlade Generated Code "Steve Cookson" writes: > However on the Glade code, while I wrote my whole prototype In > Glade, and I wouldn't h

Re: wxGlade Generated Code

2009-08-14 Thread Johan Vromans
"Steve Cookson" writes: > However on the Glade code, while I wrote my whole prototype In > Glade, and I wouldn't have progressed as fast as I have without it, > I don't like its programmatic structure. [...] This makes the code > much more maintainable. I think there's a misunderstanding here. w

RE: wxGlade Generated Code

2009-08-14 Thread Steve Cookson
Hi James, One more thing I've discovered. If you set the ID in the first place then you know what it means. So instead of passing -1 (wxANY), pass a positive integer of your own invention. Apparently all wxPerl ids are negative. Regards Steve -Original Message- From: GMAIL - James

RE: wxGlade Generated Code

2009-08-14 Thread Steve Cookson
Hi James, I totally agree with you. I'm also failing to grasp this. If Anyone can point me to some documentation that would be great. However on the Glade code, while I wrote my whole prototype In Glade, and I wouldn't have progressed as fast as I have without it, I don't like its programmatic