FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour user to see execution running
Posts: 334
Joined: Fri Oct 14, 2005 01:54 PM
user to see execution running
Posted: Mon Jul 31, 2006 04:01 PM

What msg function should be used to run showing variable counter for the user like the recno()/reccount() while do while !eof().
Ex:.

please wait..........processing record 35/2232.

Posts: 189
Joined: Fri Oct 14, 2005 12:33 AM
user to see execution running
Posted: Mon Jul 31, 2006 07:31 PM

Hi,

I use MSGRUN()

You can see how to use this at SAMPLES\TESTMSG.PRG

Regards,

Julio Llinás
Visita mi Blog en http://mangucybernetico.blogspot.com/
xHarbour 1.1.0 + FWH810 + Borland 5.5.1
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
user to see execution running
Posted: Tue Aug 01, 2006 04:52 AM

I suggest doing it in the message bar.

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 334
Joined: Fri Oct 14, 2005 01:54 PM
user to see execution running
Posted: Wed Aug 02, 2006 04:58 PM

how can I put the code clock inside msgrun the run :
? recno()/reccnount()

or Even How can I use it with the message bar ?

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
user to see execution running
Posted: Wed Aug 02, 2006 05:11 PM

cReccount:= reccount()

DO WHILE ! eof()

wndMain():oMsgBar:setMsg( "Processing record "+ trim(str(recno()))+"/"+cReccount )

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 1088
Joined: Fri Oct 07, 2005 03:33 PM
user to see execution running
Posted: Wed Aug 02, 2006 07:01 PM

Hola,

you can use

DEFINE DIALOG oDlg .....

ACTIVATE DIALOG oDlg.. NOWAIT

process ...... n/m

oDlg:end()

Continue the discussion