You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
|
Feb
(7) |
Mar
(5) |
Apr
(4) |
May
(15) |
Jun
(10) |
Jul
(4) |
Aug
(12) |
Sep
(39) |
Oct
(22) |
Nov
(46) |
Dec
(65) |
2002 |
Jan
(19) |
Feb
(27) |
Mar
(50) |
Apr
(73) |
May
(85) |
Jun
(52) |
Jul
(49) |
Aug
(95) |
Sep
(152) |
Oct
(81) |
Nov
(42) |
Dec
(62) |
2003 |
Jan
(45) |
Feb
(47) |
Mar
(101) |
Apr
(110) |
May
(53) |
Jun
(72) |
Jul
(125) |
Aug
(77) |
Sep
(87) |
Oct
(69) |
Nov
(55) |
Dec
(71) |
2004 |
Jan
(127) |
Feb
(68) |
Mar
(93) |
Apr
(102) |
May
(64) |
Jun
(92) |
Jul
(40) |
Aug
(113) |
Sep
(44) |
Oct
(61) |
Nov
(44) |
Dec
(100) |
2005 |
Jan
(57) |
Feb
(51) |
Mar
(101) |
Apr
(73) |
May
(45) |
Jun
(97) |
Jul
(92) |
Aug
(94) |
Sep
(46) |
Oct
(83) |
Nov
(82) |
Dec
(68) |
2006 |
Jan
(92) |
Feb
(116) |
Mar
(84) |
Apr
(66) |
May
(40) |
Jun
(57) |
Jul
(89) |
Aug
(82) |
Sep
(58) |
Oct
(94) |
Nov
(104) |
Dec
(70) |
2007 |
Jan
(86) |
Feb
(108) |
Mar
(193) |
Apr
(84) |
May
(71) |
Jun
(54) |
Jul
(17) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Matt F. <ma...@iw...> - 2002-01-25 23:30:17
|
Hi everyone. I know there have been plenty of e-mails regarding this, and stupidly, I ignored them because I never thought I'd be working on a mac. Now, I have an iBook and I'm kicking myself for not paying attention to those e-mails. So...what's the deal? Is there wxPerl for OS X? Do I have to build it myself? etc.. Thanks, Matt _____________________________________________________________ |
From: <rug...@ya...> - 2002-01-25 18:42:34
|
Hi Marco, I try to use fork() under windows NT but my application always crash! Under Linux the same application works well. I tink that is a problem of the system and it's immposible to resolve. I hope in a version of perl with thrads like java. Ciao Ruggero ______________________________________________________________________ Dillo con una cartolina! http://it.greetings.yahoo.com/ |
From: Marco T. <wx...@so...> - 2002-01-25 14:28:05
|
hy all, i'm trying to write a programm that downloads something... let's say: for($i=1; $i<=100; $i++) { $this->{gauge}->SetValue($i); sleep(5); } problem: this freezes my gui... my proposed solution: my $pid = fork; if ($pid == 0) { for($i=1; $i<=100; $i++) { $this->{gauge}->SetValue($i); sleep(5); } exit(0); } ok, gui doesn't freeze anymore... but the program crashes around exit(0) so, can anyone explain me how i can prevent my gui from freezing? how to use fork()? what i'm doing/thinking wrong? should be os indepent... currently working with: wxPerl0.08 & ActivePerl 5.6.1.631 greetings Marco PS: i already asked something related to this topic but haven't found a solution |
From: James L. <ja...@mi...> - 2002-01-22 16:03:55
|
Hi Marco, This is, apparently, a 'feature' in the progress bar control under Windows (I assume that by 'gauge', you mean the progress bar). The maximum range or value is 65535 or so, and so setting the value above this causes the gauge to show 100%. I posted something on the wxWindows group about this, and Mattia and others responded; I am not sure if there is a wxWindows or wxPerl fix available yet, but there is an easy workaround. The workaround I used was to set the range to 100, for example (it could be higher if you want greater granularity), and then set the value to a proportion of this as the value you want to show increases. =20 i.e. something like: $this->{gauge}->SetRange(5000); . . . my $nGauge_value =3D $nValue/5000; $this->{gauge}->SetValue($nGauge_value); . . . I believe that this is how the fix to wxWindows will be done (i.e. the actual range and value will be limited internally), in the Windows implementation. However, I'm not sure if this has been implemented yet. Mattia will know, I think. James > -----Original Message----- > From: Marco Trudel [mailto:wx...@so...] > Sent: 22 January 2002 14:46 > To: wxp...@li... > Subject: [wxperl-users] bug in wxGauge ? >=20 >=20 > $this->{gauge}->SetRange(800000); > $this->{gauge}->SetValue(59800); >=20 > shows 100%... > but "$this->{gauge}->SetValue(900);" works... >=20 > a mistake from my site or a bug? >=20 > wxPerl 0.07 && 0.08, windows >=20 > greetings > marco >=20 >=20 > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users >=20 >=20 |
From: Marco T. <wx...@so...> - 2002-01-22 14:47:39
|
$this->{gauge}->SetRange(800000); $this->{gauge}->SetValue(59800); shows 100%... but "$this->{gauge}->SetValue(900);" works... a mistake from my site or a bug? wxPerl 0.07 && 0.08, windows greetings marco |
From: jakeR <ja...@as...> - 2002-01-15 09:23:25
|
hey there. just started to use wxperl, and wanted to put a radio button in a drop down menu. can someone please show me some sample code please? thanks jake |
From: Marcus <li...@wo...> - 2001-12-23 23:09:27
|
On 23.12.01 at 16:43 Mattia Barbon wrote: >it is complete; but you need to recompile wxPerl. >) you should be able to recompile it against ActivePerl > using VC++ ( this will work ) or MinGW ( might be broke, > but i'm going to test it RSN ) That sounds good. Pls let me know if it compiles with mingw. I do not have VC++. I compiled wx with mingw. Btw, is it easy to compile wxperl, or do you need inside tweaking knowledge :-) ? I just got the PPM last time. So I mean, is there a makefile which will create the PPM? Thanks, Marcus |
From: Mattia B. <mb...@ds...> - 2001-12-23 15:43:24
|
> Mattia (or anybody else in the know), > > You said the taskbar was in CVS. Can I test it already, or is it only > part done? it is complete; but you need to recompile wxPerl. ) you should be able to recompile it against ActivePerl using VC++ ( this will work ) or MinGW ( might be broke, but i'm going to test it RSN ) > I have an application in which the taskbar plays a major role because > it runs mostly in the background. If it's working, and you have a line > of sample code, I'd like to give it a try. > > Btw, is wx 2.3 necessary? No Regards Mattia |
From: Marcus <li...@wo...> - 2001-12-23 03:34:21
|
Mattia (or anybody else in the know), You said the taskbar was in CVS. Can I test it already, or is it only part done? I have an application in which the taskbar plays a major role because it runs mostly in the background. If it's working, and you have a line of sample code, I'd like to give it a try. Btw, is wx 2.3 necessary? Thanks, Marcus |
From: Mattia B. <mb...@ds...> - 2001-12-21 17:00:33
|
> Dear Mattia, > Thanks - this works a treat! > > I was so close... Anyway, now I'm up and running. > > I had noticed the 'Attempt to free unreferenced...' error - will await a > fix. I think it is a Perl bug: putting an (empty) DESTROY in Wx::PlVlaidator make it disappear. The strange thing is that base classes do not have DESTROY methods ( so it can't be the empty one masking a base class' DESTROY ), but if you put UNIVERSAL::can( $_[0], 'SUPER::DESTROY' ); in the previously empty DESTROY {}, this triggers the error. Regards Mattia |
From: James L. <ja...@mi...> - 2001-12-21 08:14:11
|
> I agree with your reasoning, but would suggest=20 > Wx::Perl::someclass ... that is > only 2 chars more to type... and scores fewer questions for=20 > support. Perl is > only 4chars, why abreviate to 2? Very sensible - I agree! James |
From: Alexander F. G. <per...@bl...> - 2001-12-20 15:50:27
|
On Thu, 20 Dec 2001 08:30:07 -0000, you wrote: >What about Wx::Pl::someclass - the Pl indicates that it is implemented >in Perl. Wx::lib::someclass does not impart the same information. I agree with your reasoning, but would suggest Wx::Perl::someclass ... = that is only 2 chars more to type... and scores fewer questions for support. Perl= is only 4chars, why abreviate to 2? just MHO 'lexu Greetings from Berne, Switzerland 'lexu |
From: Mattia B. <mb...@ds...> - 2001-12-20 14:04:04
|
On Thu, 20 Dec 2001, Marco Trudel wrote: >then i think it's the same with a menubar, right? >not possible to use in a sizer ? Exactly. What were you trying to achieve? ( just curious ). Regards Mattia |
From: Mattia B. <mb...@ds...> - 2001-12-20 13:46:28
|
On Thu, 20 Dec 2001, Marco Trudel wrote: >is it possible to add a wxMenu to a sizer? No, from the API point of view, it is not a window nor a sizer; from the GUI point of view, a menu is not resizeable. Regards Mattia |
From: Marco T. <wx...@so...> - 2001-12-20 13:15:14
|
is it possible to add a wxMenu to a sizer? greetings marco |
From: James L. <ja...@mi...> - 2001-12-20 08:30:29
|
> James wrote: > > In terms of package/object naming, what should I do? Not sure if > > the Perl validators should be in the Wx namespace. Notwithstanding > > that, I think I should name the validators PlGenericValidator, > > PlChoiceValidator etc., to differentiate from the 'native' wx > > validators. What do you think? I don't know if there are > > standards already published on this in the Wx/Perl community. > No, there aren't yet; wxPython puts user contributions in > wxPython.lib, but Python has a nice feature that lets you do > from wxPython.lib import fooclass ( or something like this ), > and the use fooclass withour qualification. I'd like > to have the Wx:: prefix ( same CPAN dir ), so, > Wx::lib::someclass, or Wx::extra::someclass, or > Wx::Plsomeclass are all valid choices. What about Wx::Pl::someclass - the Pl indicates that it is implemented in Perl. Wx::lib::someclass does not impart the same information. James |
From: James L. <ja...@mi...> - 2001-12-20 08:28:05
|
Mattia, > > Yes, I think a Perl-implemented GenericValidator can just take the > > address of the variable to/from which to deposit/get data, and can > > handle it appropriately internally by checking the reference type. > the trouble is that in perl you can only have scalar references, > so you need a flag to tell the class you want a number/string/bool > transferred Good point. I think I'll use the 'flag' approach. This has approach has been used elsewhere (in Win32::API, I think), so I'll try to be consistent with other modules. =20 > > > 2 - there is no NumericValidator ( or whatever you want ... > the one I wrote in C++ a year ago could: > * check that the number is aproper integer number > ( if you passed a int/long pointer ) > * check that the number is a proper float number > ( if you passed a float/double pointer ) > * optionally check that the number is in some > range Sounds reasonable for a first cut. James |
From: Mattia B. <mb...@ds...> - 2001-12-19 18:13:22
|
Sorry for the delay > > wxTextValidator is OK for Perl, while wxGenericValidator does > > 1 - use overloading > > wxGV construtor takes one of a int/bool/string/integer array > > (C++) pointer ( think Perl references ), but in Perl > > int/string/bool map to scalar. > Yes, I think a Perl-implemented GenericValidator can just take the > address of the variable to/from which to deposit/get data, and can > handle it appropriately internally by checking the reference type. the trouble is that in perl you can only have scalar references, so you need a flag to tell the class you want a number/string/bool transferred > > 2 - there is no NumericValidator ( or whatever you want to call it ) > > one that does a text->number conversion with error > > checking/bound checking, for intehers and floats > What would you like it to do? Take a mask and validate the input > according to the mask? (I'm assuming there's no existing wx masked text > control already). the one I wrote in C++ a year ago could: * check that the number is aproper integer number ( if you passed a int/long pointer ) * check that the number is a proper float number ( if you passed a float/double pointer ) * optionally check that the number is in some range > > 3 - I don't like wxGV because it tries to do > > validation for all controls, doing the Right Thing, but this > > sometimes is not possible ( like: for comboboxes > > if you pass a string, it returns the selected string, > > if you pass an integer it returns the index of the > > selected string in > > the combobox, but if I want the selected string as a number > > ( because my combobox contains, say, 1,2,3,4,6,12 ) I need > > a custom validator ( this relates to the lack of a > > NumericValidator ) > > BTW this example does not fit with Perl ( because in Perl a > > number "is" a string, but I hope you get the idea ) > > > Hmm... Have looked at the C++ code for the GV, and see what you mean > with comboboxes. > > Just trying to work out how we can differentiate between setting > selection by index or string. In this case, I think we need a separate > ComboBoxValidator (or rather ChoiceValidator), with a flag passed to the > constructor indicating how we want to set the selection (index or > string). > > In the light of this, do you think we should not have a GV, but have > individual ones for each control type, or implement the GV in Perl with > more intelligence? > > But since I do not use validator that much, it's up to you to decide > Oh goody! > In terms of package/object naming, what should I do? Not sure if the > Perl validators should be in the Wx namespace. Notwithstanding that, I > think I should name the validators PlGenericValidator, PlChoiceValidator > etc., to differentiate from the 'native' wx validators. What do you > think? I don't know if there are standards already published on this in > the Wx/Perl community. See my other mail. Thanks! Mattia |
From: Mattia B. <mb...@ds...> - 2001-12-19 18:13:14
|
Replying to the last mail from James Lavery, but bringing up a larger issue James wrote: > In terms of package/object naming, what should I do? Not sure if > the Perl validators should be in the Wx namespace. Notwithstanding > that, I think I should name the validators PlGenericValidator, > PlChoiceValidator etc., to differentiate from the 'native' wx > validators. What do you think? I don't know if there are > standards already published on this in the Wx/Perl community. No, there aren't yet; wxPython puts user contributions in wxPython.lib, but Python has a nice feature that lets you do from wxPython.lib import fooclass ( or something like this ), and the use fooclass withour qualification. I'd like to have the Wx:: prefix ( same CPAN dir ), so, Wx::lib::someclass, or Wx::extra::someclass, or Wx::Plsomeclass are all valid choices. What do the others think? Regards Mattia |
From: James L. <ja...@mi...> - 2001-12-18 11:11:52
|
> wxTextValidator is OK for Perl, while wxGenericValidator does > 1 - use overloading > wxGV construtor takes one of a int/bool/string/integer array > (C++) pointer ( think Perl references ), but in Perl > int/string/bool map to scalar. Yes, I think a Perl-implemented GenericValidator can just take the address of the variable to/from which to deposit/get data, and can handle it appropriately internally by checking the reference type. > 2 - there is no NumericValidator ( or whatever you want to call it ) > one that does a text->number conversion with error > checking/bound checking, for intehers and floats What would you like it to do? Take a mask and validate the input according to the mask? (I'm assuming there's no existing wx masked text control already). > 3 - I don't like wxGV because it tries to do > validation for all controls, doing the Right Thing, but this > sometimes is not possible ( like: for comboboxes > if you pass a string, it returns the selected string, > if you pass an integer it returns the index of the=20 > selected string in > the combobox, but if I want the selected string as a number > ( because my combobox contains, say, 1,2,3,4,6,12 ) I need > a custom validator ( this relates to the lack of a=20 > NumericValidator )=20 > BTW this example does not fit with Perl ( because in Perl a > number "is" a string, but I hope you get the idea ) >=20 Hmm... Have looked at the C++ code for the GV, and see what you mean with comboboxes. =20 Just trying to work out how we can differentiate between setting selection by index or string. In this case, I think we need a separate ComboBoxValidator (or rather ChoiceValidator), with a flag passed to the constructor indicating how we want to set the selection (index or string). In the light of this, do you think we should not have a GV, but have individual ones for each control type, or implement the GV in Perl with more intelligence? > But since I do not use validator that much, it's up to you to decide Oh goody! In terms of package/object naming, what should I do? Not sure if the Perl validators should be in the Wx namespace. Notwithstanding that, I think I should name the validators PlGenericValidator, PlChoiceValidator etc., to differentiate from the 'native' wx validators. What do you think? I don't know if there are standards already published on this in the Wx/Perl community. James |
From: Mattia B. <mb...@ds...> - 2001-12-18 10:21:49
|
On Tue, 18 Dec 2001, James Lavery wrote: >Dear Mattia, >Thanks - this works a treat! > >I was so close... Anyway, now I'm up and running. > >I had noticed the 'Attempt to free unreferenced...' error - will await a >fix. > >Now that I've got things working, what do you suggest/would you like? I >feel that validators are the way to go when it comes to transferring >data to/from controls (rather than explicit GetValue/SetValue calls all >over the place) - I have had to implement a similar concept (though not >as elegant) in a very large Perl/Tk application which we have developed. > >I see that you think we should create Perl versions of >wxGenericValidator and wxTextValidator - I am happy to do this and >contribute them to the project. If I do this, do you (or anyone else on >the list) have ideas on how we should name/implement them? What 'better >interface' can you envisage for a Perl-based Validator? I have not >examined the native wxGenericValidator and wxTextValidator yet, so am >interested in your thoughts. wxTextValidator is OK for Perl, while wxGenericValidator does 1 - use overloading wxGV construtor takes one of a int/bool/string/integer array (C++) pointer ( think Perl references ), but in Perl int/string/bool map to scalar. 2 - there is no NumericValidator ( or whatever you want to call it ) one that does a text->number conversion with error checking/bound checking, for intehers and floats 3 - I don't like wxGV because it tries to do validation for all controls, doing the Right Thing, but this sometimes is not possible ( like: for comboboxes if you pass a string, it returns the selected string, if you pass an integer it returns the index of the selected string in the combobox, but if I want the selected string as a number ( because my combobox contains, say, 1,2,3,4,6,12 ) I need a custom validator ( this relates to the lack of a NumericValidator ) BTW this example does not fit with Perl ( because in Perl a number "is" a string, but I hope you get the idea ) But since I do not use validator that much, it's up to you to decide Thanks! Mattia |
From: James L. <ja...@mi...> - 2001-12-18 09:55:25
|
Dear Mattia, Thanks - this works a treat! I was so close... Anyway, now I'm up and running. I had noticed the 'Attempt to free unreferenced...' error - will await a fix. Now that I've got things working, what do you suggest/would you like? I feel that validators are the way to go when it comes to transferring data to/from controls (rather than explicit GetValue/SetValue calls all over the place) - I have had to implement a similar concept (though not as elegant) in a very large Perl/Tk application which we have developed. I see that you think we should create Perl versions of wxGenericValidator and wxTextValidator - I am happy to do this and contribute them to the project. If I do this, do you (or anyone else on the list) have ideas on how we should name/implement them? What 'better interface' can you envisage for a Perl-based Validator? I have not examined the native wxGenericValidator and wxTextValidator yet, so am interested in your thoughts. Regards, James > -----Original Message----- > From: Mattia Barbon [mailto:mb...@ds...] > Sent: 17 December 2001 22:22 > To: wxp...@li... > Subject: RE: [wxperl-users] Re: wxValidator available via wxPerl >=20 >=20 > > Dear Mattia (or others, if they can help), > > I've been delving into how to use wxValidators, and I think=20 > I understand the > > concept (and I like it!). > >=20 > > However, I'm having real trouble deriving my own validator (called, > > unimaginitively, myValidator) from Wx::PlValidator. > >=20 > > >From the wxWindows documentation, all validators must=20 > implement a Clone > > method. I have tried implementing a Clone method, which I=20 > can see getting > > called, but myValidator's Validate, TransferFromWindow, and=20 > TransferToWindow > > never seem to get called. > >=20 > > Here is my code (with the methods apart from Clone doing=20 > nothing useful > > apart from printing to STDOUT): > >=20 > > VVVVVVVVVVVVVVVVVVVV > > use Wx; > >=20 > > package myValidator; > This is OK ( in fact the sample I sant uses this code ) >=20 > > ^^^^^^^^^^^^ > >=20 > =20 > > Could you post a very simple example of how to create a=20 > validator class in > > Perl, and how to create a frame which uses it, please? > Here is your example ( modified minimal sample, use Help->About to > show the validator dialog ) >=20 > I am getting a "Attempt to free unreferenced scalar at=20 > C:/Developement/wxPerl/wxPerl/blib/lib/Wx.pm line 61.",=20 > which I was not getting when I first tested Validators. > It is obviously something I am doing wrong with reference > counting in wxPerl; will fix. >=20 > A caveat: do not use a validator after you did > ->SetValidator(); for implementation reasons, > once you do ->SetValidator() it is no more valid. >=20 > Regards > Mattia >=20 >=20 >=20 >=20 |
From: Mattia B. <mb...@ds...> - 2001-12-17 22:21:13
|
> Dear Mattia (or others, if they can help), > I've been delving into how to use wxValidators, and I think I understand the > concept (and I like it!). > > However, I'm having real trouble deriving my own validator (called, > unimaginitively, myValidator) from Wx::PlValidator. > > >From the wxWindows documentation, all validators must implement a Clone > method. I have tried implementing a Clone method, which I can see getting > called, but myValidator's Validate, TransferFromWindow, and TransferToWindow > never seem to get called. > > Here is my code (with the methods apart from Clone doing nothing useful > apart from printing to STDOUT): > > VVVVVVVVVVVVVVVVVVVV > use Wx; > > package myValidator; This is OK ( in fact the sample I sant uses this code ) > ^^^^^^^^^^^^ > > Could you post a very simple example of how to create a validator class in > Perl, and how to create a frame which uses it, please? Here is your example ( modified minimal sample, use Help->About to show the validator dialog ) I am getting a "Attempt to free unreferenced scalar at C:/Developement/wxPerl/wxPerl/blib/lib/Wx.pm line 61.", which I was not getting when I first tested Validators. It is obviously something I am doing wrong with reference counting in wxPerl; will fix. A caveat: do not use a validator after you did ->SetValidator(); for implementation reasons, once you do ->SetValidator() it is no more valid. Regards Mattia |
From: Mattia B. <mb...@ds...> - 2001-12-17 09:41:45
|
On Mon, 17 Dec 2001, Marcus wrote: >On 16.12.01 at 11:49 Mattia Barbon wrote: >>> - Windows System Tray Icon >>In CVS, will be in the next release ( Wx::TaskBarIcon ) > >Excellent. > >Btw, what is the equivalent when using the Linux version? >If it uses GTK, then Gnome would be the desktop, so does it only work >if the user is running Gnome? No, currently it is MSW only ( because no one implemented it for Gnome/KDE/whatever ); >>> - Tooltips >>Yes ( Wx::Tooltip ) > >Just tried it out, works nicely. That is a very welcome sight after >missing it on Win32::GUI. > >This one does balloon help. What do you use to display the information >in the statusbar? >Many apps always show Tooltips in the statusbar, and make balloon help >an additional option. I don't think it is possible at the moment, but I need to look at wxWindows' code, first. >Thanks for the list of implemented widgets. Very impressive. I think >I'm convinced of wxPerl now :-) Regards Mattia |
From: James L. <ja...@mo...> - 2001-12-16 23:36:21
|
Dear Mattia (or others, if they can help), I've been delving into how to use wxValidators, and I think I understand the concept (and I like it!). However, I'm having real trouble deriving my own validator (called, unimaginitively, myValidator) from Wx::PlValidator. >From the wxWindows documentation, all validators must implement a Clone method. I have tried implementing a Clone method, which I can see getting called, but myValidator's Validate, TransferFromWindow, and TransferToWindow never seem to get called. Here is my code (with the methods apart from Clone doing nothing useful apart from printing to STDOUT): VVVVVVVVVVVVVVVVVVVV use Wx; package myValidator; use vars qw(@ISA); @ISA = qw(Wx::PlValidator); sub new { my $class = shift; my $this = $class->SUPER::new(); return $this; } # see the docs for the three following functions sub TransferFromWindow { print "TransferFromWindow called\n"; return 1; } sub TransferToWindow { print "TransferToWindow called\n"; return 1; } sub Validate { print "Validate called\n"; return 1; } sub Clone { my $this= shift; print "Clone called\n"; # clone by creating a new object, which should, in the real class, have copies of all # properties of $this # could/should we use something like Storable::dclone here?? my $tmp = myValidator->new; return $tmp; } 1; ^^^^^^^^^^^^ A code snip from my main program, where I'm trying to test the validator, looks like this: vvvvvvvvvvvvvvvvvv # add wxValidator for the raw text, using the getter generated by wxDesigner my $objText = $this->txtRaw; my $sText = 'Hello'; # note that the constructor for myValidator does nothing with arguments yet my $vldTmp = myValidator->new(0,\$sText); $objText->SetValidator($vldTmp); # various attempts to get the validator to kick in! $this->TransferDataToWindow(); $this->TransferDataFromWindow(); $objText->Validate(); ^^^^^^^^^ However, I do not see the validator's methods being invoked. Could you post a very simple example of how to create a validator class in Perl, and how to create a frame which uses it, please? Thanks a lot, James Lavery MicroSec Ltd/Monthtwo Systems Ltd |