Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how 2 get info from functions 2 show in a dialog box
#6
str s.format("%i:%i" t/60 t%60)
out s

here t is counter variable (number of seconds).

Quote:How 2 make the Timer in a dialog Start and restart from functions instead of the dialog?

If the dialog is running, get its handle and use it with SetTimer.

int hDlg=win("dialog title")
SetTimer hDlg timerid timerperiod 0

If dialog is not running, you cannot use SetTimer. Instead you could use rep or tim.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)