PDA

View Full Version : Loop Wizard Question



NewsArchive
12-11-2011, 08:06 AM
Hi Friedrich -

I have a custom dialog form with some buttons and plain text display
controls.

One of the buttons starts a service, which can sometimes take 30
seconds or so.

Is there a way to send a "timer event" or something to the wizard loop
so I can test for a condition and update it's status on my dialog?
Sometimes the condition only gets satisfied after a period of 30
seconds or so.

In the mean-time, I'll add a "Refresh" button. <g>

Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve

NewsArchive
12-11-2011, 08:06 AM
Hi Jeff,

> I have a custom dialog form with some buttons and plain text display
> controls.
>
> One of the buttons starts a service, which can sometimes take 30
> seconds or so.
>
> Is there a way to send a "timer event" or something to the wizard loop
> so I can test for a condition and update it's status on my dialog?
> Sometimes the condition only gets satisfied after a period of 30
> seconds or so.
>
> In the mean-time, I'll add a "Refresh" button. <g>

Hmm, this is a very good and interesting question <g>. I tried it and I
think it can't be done (at the moment). As it is now, only a "button" event
can execute an action in a custom dialog (e.g. to update a progress bar or
the text in a static text control). What we need is another script function
that allows to programmatically fire an event from within the Loop Wizard.
Then it should be possible to simulate a timer event and do a status update.

I'll give it some thoughts :)

Friedrich

NewsArchive
12-12-2011, 01:27 AM
Cool. Thanks very much. :)

Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve

NewsArchive
12-12-2011, 01:27 AM
>
> Cool. Thanks very much. :)
>

Thank YOU :)

Friedrich