07-04-2009, 08:45 PM
Ok idk why this code isnt working for me, but its not. Correct me if im wrong but function'str hDlg should allow me to call anything for the dialog when its open,yes? I've used this code before in a previous macro but now its not working?? Please help.. thanks
Function Timer
Function Timer
function'str hDlg
int NumberOfReps Seconds Minutes Hours
str SetTime
spe 1
rep
,SetTime = ""
,Seconds = NumberOfReps%60
,Minutes = NumberOfReps/60%60
,Hours = NumberOfReps/3600
,SetTime.formata("%02i H : %02i M : %02i S" Hours Minutes Seconds)
,SetTime.setwintext(id(4 hDlg))
,1
,NumberOfReps+1