DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

need a user dialog screen update while code is running to show some messages

Solved!
Go to solution

Hi all,

I do some data analyzing in a script. These job needs several minutes, so i want to show in an text box some informations abaut the state of the progress.

 

Writing some text from script in a dialog box is not the problem. Only the sreen updating on runtime doesn't work.

 

did somebody have a idea to solve this problem?

 

thanks

0 Kudos
Message 1 of 3
(1,071 Views)
Solution
Accepted by MarioRindfleisch

Hi MarioRindfleisch,

 

You need a non-modal dialog box for this. Here is an example:

dim iLoop

for iLoop = 1 to 5
  call MsgBoxDisp("My Text " & str(iLoop), "MB_NOBUTTON",,,, true)
  call pause(3)
next

call MsgBoxCancel

 

This is also possible for SUD dialogs. In this case, please have a look at the DIAdem help for “SUDDlgCreate”.

 

Greetings

Walter

 

 

0 Kudos
Message 2 of 3
(1,032 Views)

Thank you, 🤔sometimes the solution is so simple😂

0 Kudos
Message 3 of 3
(1,023 Views)