Guten Tag Marcus,

Am Sonntag, 4. November 2001 um 14:52 schrieben Sie:

M> On 04.11.01 at 06:28 Mark Wilkinson wrote:
>>The real question is this:  how do you get your variables into your
M> widget
>>event
>>control subroutines?  e.g. the code below:
>>
>>use strict;
>>my $x = 1;
>>
>>sub Button_Click {
>>    ++$x
>>}

M> Well, I think you need to declare subs as:
M> sub main::Button_Click {

M> or at the latest when you have an external widget, your events won't be
M> processed. I just figured that one out again, or should I say I
M> remembered what I'd read in the manual :-)

M> and for your $x, call it $main::x.
Hello,

i'm new to Win32::GUI .. so i've a question about the options of the
widgets. Is ther a list of all available options to the relevant
widgets ...?

thx a lot for your help ;-)
Hannes


-- 
Mit freundlichen Grüssen
Johannes Gamperl                            mailto:[EMAIL PROTECTED]



Reply via email to