Hello,
RequestTimedRefresh function is preferred and way more efficient method
to force refresh of chart.
RefreshAll is overkill. Among other things it REFILLS symbol lists
(tree/combo boxes) and due to the fact that Windows Controls
are slow, it is not recommended to use RefreshAll unless you in fact
want to refill the SYMBOL list/tree/combo.
Best regards,
Tomasz Janeczko
amibroker.com
On 2010-03-06 23:24, wavemechanic wrote:
* Here is what I use as an include file to refresh synched charts
which may get you going: *
* *
*procedure* pRefreshSynchedCharts()
*{*
* AB = * * CreateObject ( "Broker.Application" * *);*
* AB.RefreshAll();*
*}*
*pRefreshSynchedCharts();*
**
* Bill *
* *
----- Original Message -----
*From:* Keith McCombs <mailto:[email protected]>
*To:* [email protected] <mailto:[email protected]>
*Sent:* March 06, 2010 11:35 AM
*Subject:* Re: [amibroker] Opps, Refresh All programmatically?
Oops; I did not mean "Reset All", but instead "Refresh All", as in
View>Refresh All.
My reason for wanting to do a "Refresh All", is to reset the
display of a Watchlist so it is displaying the most recent
contents after I programmatically load it from a list of stocks.
In light of this new revelation, does anybody have any ideas?
Thank you.
-- Keith
On 3/4/2010 00:04, Keith McCombs wrote:
Is there any way to do a Reset All from within .afl? How about
jscript
or any other way?
Thanks
-- Keith