user to see execution running

user to see execution running

Postby Ehab Samir Aziz » Mon Jul 31, 2006 4: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.
Ehab Samir Aziz
 
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

Postby jllinas » Mon Jul 31, 2006 7: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
User avatar
jllinas
 
Posts: 189
Joined: Fri Oct 14, 2005 12:33 am
Location: Santo Domingo, Dominican Republic

Postby James Bott » Tue Aug 01, 2006 4:52 am

I suggest doing it in the message bar.
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Ehab Samir Aziz » Wed Aug 02, 2006 4: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 ?
Ehab Samir Aziz
 
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

Postby James Bott » Wed Aug 02, 2006 5:11 pm

cReccount:= reccount()

DO WHILE ! eof()

wndMain():oMsgBar:setMsg( "Processing record "+ trim(str(recno()))+"/"+cReccount )
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Marcelo Via Giglio » Wed Aug 02, 2006 7:01 pm

Hola,

you can use

DEFINE DIALOG oDlg .....


ACTIVATE DIALOG oDlg.. NOWAIT

process ...... n/m

oDlg:end()
Marcelo Via Giglio
 
Posts: 1065
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 84 guests