Refreshing with every deletion triggered from OLE would be performance killer.
Call RefreshAll() method to update symbol listiview after doing bunch of 
deletions.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "C Alvarez" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, May 22, 2007 11:30 PM
Subject: [amibroker] Re: Deleting ATC Symbols


> The symbols are being deleted but the Symbol list window is not being 
> udpated. Everything is fine.
> 
> Cey
> 
> --- In [email protected], "C Alvarez" <[EMAIL PROTECTED]> wrote:
>>
>> I have written the code in vbscript but I do not seem to be able to 
>> delete composite symbols using 
>> Stocks.Remove("~MyComposite")
>> 
>> Does this function call not remove composite symbols?
>> 
>> Cey
>> 
>> --- In [email protected], "C Alvarez" <yahoo2@> wrote:
>> >
>> > So I have a lot of symbols that I have created using 
>> AddToComposite. I 
>> > would like to do some cleanup and delete them all. I know that I 
>> can go 
>> > to Symbol/Organize Assignments to delete them. For some reasons, 
> I 
>> > would like a programmtic way of deleting them. From looking 
> through 
>> the 
>> > AFL docs it does not look like it it can be done in AFL. It looks 
>> like 
>> > I would have to use COM to do it. 
>> > 
>> > Is there a "simple" way of getting the all the ~symbols so that I 
>> can 
>> > then call Stocks.Remove("~MyCompositeSymbol"); on each one?
>> > 
>> > Is there some other way?
>> > 
>> > Thanks,
>> > Cey
>> >
>>
> 
> 
> 
> 
> Please note that this group is for discussion between users only.
> 
> To get support from AmiBroker please send an e-mail directly to 
> SUPPORT {at} amibroker.com
> 
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> 
> Yahoo! Groups Links
> 
> 
> 
> 
>

Reply via email to