in reply to Verification DialogBox
From the description of your problem (and a quick look at the code which I can't run), the "blinking" is actually multiple DialogBoxes popping up in succesion until the $ver is set right. You have
in a thread, then in main you are popping the DialogBox depending on the value of $ver from a timer (every second).if ( $ver == 1) { for (;;){ if ($ver == 2) {last} if ($ver == 0) { goto NO} }
Fix your verway timer callback. In your sub verway(called by a timer), have a check so that if the DialogBox is currently displayed, it won't display it again. It's as simple as setting a global $is_dialog_up to 0 or 1.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Verification DialogBox
by carmen (Initiate) on May 24, 2007 at 14:39 UTC |