Hi Paul

The progress bar is working although not as I would expect.  I am using
RECCOUNT() to set the ctlMaximum property.  Then stepping as I scan 1
step at a time but the progress bar is about 3 quarters full at
completion of the scan.  This shows the same if I do a partial scan i.e.
scan for something = something by counting first and setting the max to
that.

I will try your suggestions about SET Talk etc.

Cheers

Peter

P.S. Thank your mum for the sandwiches.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Newton
Sent: 22 October 2007 16:32
To: [email protected]
Subject: Re: Ctrl32_StausBar

Peter

First of all, the left-hand panel of the status bar is always enabled 
and unless you set ctl32statusbar.ctlCaption to something of your own 
will display meesages normally destined for the VFP status bar (like "x 
records selected in y seconds").  I assume this also depends on SET TALK

and maybe SET NOTIFY.

Secondly, the statusbar has a progressbar but you must set it visible 
with ctl32statusbar.progressbar.ctlvisible = .t.

After that you set the progress with ctl32statusbar.progressbar.ctlvalue

= x &&  (0 <= x <= 1). This cannot be done automagically - you need to 
be in some kind of situation, e.g. a loop (DO WHILE, SCAN, FOR etc etc),

where you can determine the value of x to pass.

HTH

Paul Newton



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to