Home Image-Pro Automation (Macros, Apps, Reports)

Is there a FUNCTION or METHOD that will update an APPLICATION DIALOG BOX?

All --

I have an APPLICATION with a DIALOG BOX.

Within the dialog box there is a LABELXX.

When the APPLICATION goes into a loop, there is a statement within the loop that should update the LABELXX by changing the value of

    LABLEXX.TEXT

but it looks like this update does not happen unless there is a change to the an image open within PREMIER.

I looked into this via the INTERNET and I saw suggestions for

    Application.DoEvents()

but this does not seem to be supported by PREMIER as

    Application.DoEvents
    or
    ThisApplication.DoEvents

Is there a FUNCTION or a METHOD that will force the DIALOG BOX to update the LABEL via the .TEXT PROPERTY?

Thanks.

-- Matt




Best Answer

  • Accepted Answer
    Matt,

    The function you can call is System.Windows.Forms.Application.DoEvents().

    Pierre

Answers

  • Pierre --

    Thanks.

    That statement seems to have handled the issue perfectly.

    Thanks again.

    -- Matt
Sign In or Register to comment.