I'm following an online Win32::Gui tutorial to learn how to add a GUI to my Perl application. So far everything's been good. But I'm having some pesky small problems. So I'm asking for help here again.
One problem is, I have to click my mouse in the textfield before I can type. I tried something lie this:
$Object->AddTextfield(
-name => "Birthday",
-left => 75,
-top => 50,
-width => 180,
-height => 20,
-number => 1,
-prompt => "Input birthday:",
);
$Object->Birthday->GetFocus();
$Object->Birthday->Activate();
But it doesn't work. Can anyone kindly help? Thanks in advance.