Good day Monks. When I run the follow code,
use 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; }
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.....
Steve