cormanaz has asked for the wisdom of the Perl Monks concerning the following question:
I get a window with nothing in it. If I add a -prompt value to the Textfield object, I get a prompt but no text. If I print $dataform->{example}->{'-text'} it prints out OK. Why won't it show on the window?!? Many thanks..... Steveuse Win32::GUI; $dataform = Win32::GUI::Window->new( -name => 'dataform', -width => 400, -height => 600, ); $dataform->AddTextfield( -name => 'example', -text => 'Here is some text', ); $dataform->Show(); Win32::GUI::Dialog(); sub dataform_Terminate { -1; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Win32::GUI::Textfield problems
by PodMaster (Abbot) on Jul 20, 2004 at 20:09 UTC | |
|
Re: Win32::GUI::Textfield problems
by heroin_bob (Sexton) on Jul 20, 2004 at 19:02 UTC | |
by CombatSquirrel (Hermit) on Jul 20, 2004 at 19:58 UTC | |
by heroin_bob (Sexton) on Jul 20, 2004 at 22:12 UTC | |
by cormanaz (Deacon) on Jul 20, 2004 at 20:21 UTC | |
|
Re: Win32::GUI::Textfield problems
by Belgarion (Chaplain) on Jul 20, 2004 at 20:09 UTC |