Hello guys, i´m using now minigui. My Problem is (for you) very simple, i think. I am developing an Windows application and i want to do the following:
Program starts and i want to have a Screen with a counting Number (and other information). Inbetween the "Countdown" must i show the Number on the sceen.
I tried hb_idleSleep(1) to wait one second. After that i want to show the new value.
DEFINE Window // (in prev. Proc)
ACTIVATE Window Form_1 // (in prev. Proc)
PUBLIC cString := ""
-----------------------------
FUNCTION ShowScreen(NIL)
LOCAL nCountdown := 500
Form_1.Show // not working
FOR XX = nCountdown TO 1 STEP -1 // Ok, so far
hb_idleSleep( 1 ) // is waiting so far
Form_1.Label_44.Value := Transform(XX,"999") // not working
Form_1.Label_44.Redraw // not working!
cString := MakeNew(6,RIGHT(STRZERO(XX),3)) // to make new looking to "cString"
SENDEN(cString)
NEXT
Form_1.Hide
RETURN (NIL)
still not working. Program stalls here.
It seems, that everything is fault?