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
there's a misunderstanding here. wxGlade is not a prototype generator, it's an UI designer/generator. The idea is to leave the maintainance of the wxGlade generated code to wxGlade. Personally I find wxGlade's programmatic structure okay to work with. -- Johan

RE: wxGlade Generated Code

2009-08-14 Thread Steve Cookson
GMAIL - James McDonald [mailto:ja...@jamesmcdonald.id.au] Sent: 14 August 2009 02:39 To: wxperl-users@perl.org Subject: wxGlade Generated Code I use wxPerl to create custom interfaces. Alot of these interfaces have a Number Keypad and I've only just figured out how to get hold of the actual obje

RE: wxGlade Generated Code

2009-08-14 Thread Steve Cookson
(caller){ local *Wx::App::OnInit = sub{1}; my $app = Wx::App->new(); Wx::InitAllImageHandlers(); my $frame_1 = MyFrame->new(); $app->SetTopWindow($frame_1); $frame_1->Show(1); $app->MainLoop(); } Regards Steve -Original Message- From: GM

wxGlade Generated Code

2009-08-13 Thread GMAIL - James McDonald
I use wxPerl to create custom interfaces. Alot of these interfaces have a Number Keypad and I've only just figured out how to get hold of the actual object I click using a post from Steve Cookson (Thanks Steve). It's embarrassing to admit but I was creating one event handler per key ( keyPres