Hi,
I was wondering if anyone came up with a solution to
this problem (described below in Eric's message). I'm
encountering the same problem and when I searched the
old messages I never found an answer or any further
discussion in the thread. Thanks for you time.
Cam Watson
Eric Hanson wrote:
--------------------------------------------------------
It appears that the show method does not fire until
control returns to
Win32::GUI::Dialog(); Aldo, is there any way we can
get Show() programmed
to fire immediately? Please study my below example and
the notes.
Thanks,
Eric Hansen
# OK button click event for DialogBox #1
sub D1OK_Click {
$D1->Disable();
$D2->Enable();
$D2->Show();
}
# OK button click event for DialogBox #2
sub D2OK_Click {
$D2->Disable();
$D2->Hide();
$D1->Enable();
$D1->Show(); # Show() method does not fire till
Do_Process completes
# and control returns to
Win32::GUI::Dialog()
# since the DialogBox1 screen does
not refresh till then.
Do_Process(); # call a subroutine to do some
procedure code
}
sub Do_Process {
# procedure code executed here
}
=====
Quote of the Day:
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://messenger.yahoo.com