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
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
0
Best Answer
-
Matt,
The function you can call is System.Windows.Forms.Application.DoEvents().
Pierre0
Answers
-
Pierre --
Thanks.
That statement seems to have handled the issue perfectly.
Thanks again.
-- Matt
0
Categories
- All Categories
- 961 Image-Pro v9 and higher
- 9 Image-Pro FAQs
- 18 Image-Pro Download & Install
- 448 Image-Pro General Discussions
- 486 Image-Pro Automation (Macros, Apps, Reports)
- 20 AutoQuant Deconvolution
- 2 AutoQuant Download & Install
- 18 AutoQuant General Discussions
- 195 Image-Pro Plus v7 and lower
- 3 Image-Pro Plus Download & Install
- 106 Image-Pro Plus General Discussions
- 86 Image-Pro Plus Automation with Macros
- 19 Legacy Products
- 16 Image-Pro Premier 3D General Discussions
- 26 Image-Pro Insight General Discussions