in reply to pTk popup not returning value and not locking calling window
As the poster above said, you need to make $dialog modal. The only time when you're guaranteed to know the value of the variable is when you close $dialog -- so attach all of your computations, etc, to the callback on the "OK" button on $dialog.
Hope this helps -- if not, ask and I'll post an example of what I mean.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: pTk popup not returning value and not locking calling window
by el-moe (Scribe) on Oct 09, 2000 at 23:38 UTC | |
by jcwren (Prior) on Oct 10, 2000 at 00:15 UTC | |
by el-moe (Scribe) on Oct 10, 2000 at 01:43 UTC |