Johan Lindstrom wrote:
> At 10:08 2002-10-22 +1000, Rogers, John wrote:
>>"note that this function must be called without ANY parameter or
>>instantiation (eg. don't call it as method of a created object):
>>
>>         Win32::GUI::Dialog(); # correct
>>     $Window->Dialog();    # !!!WRONG!!!
>>"
>
> So, it's not an un-documented feature, it's a documented un-feature.
>
> I'll go get that "Doh!" now :)

well, this is a very tricky point.
in fact, you can do $Window->Dialog() (there is very little that you
can't do), but it's just that *usually*, *most of the times*, this
is not what you want.

I was using $Window->Dialog() and it seemed to work fine, until I
implemented Comboboxes. drop-down Comboboxes use their own windows,
so if you have a drop-down Combobox in your $Window and you called
 $Window->Dialog, the drop-down box will not show at all (it will be
blank and unresponsive to user input). so I stated that doing
 $Window->Dialog is wrong, because it produces undesiderable
effects. however, if you are not using drop-down Comboboxes, this
may be just what you want ;-)

cheers,
Aldo

__END__
$_=q,just perl,,s, , another ,,s,$, hacker,,print;


Reply via email to