SetChartOptions function should be used carefully 

As written here:
www.amibroker.com/f?setchartoptions

use should use Flags = 0,
if you use any other value of Flags parameter then you won't be
able to modify the settings provided by setchartoptions because
they will get overwritten with each chart refresh.

So I guess you are using SetChartOptions with Flags not equal to
zero and thats causes your problems.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "bevanddanadams" <[EMAIL PROTECTED]>
To: "Tomasz Janeczko" <[EMAIL PROTECTED]>
Sent: Wednesday, August 23, 2006 3:09 PM
Subject: Re: Preferences still reverting to default


Tomasz,
broker.newcharts is getting updated as expected. I can't explain
everything yet but I think the majority of my problems have to do with
SetChartOptions. It explains why some things get reset to defaults,
why dates appear sometimes and not others, etc.

Bottom line: It's my problem, not an AB problem, and nothing for
anyone else shoud waste any time on.

Dan


--- In amibroker@yahoogroups.com, "Tomasz Janeczko" <[EMAIL PROTECTED]> wrote:
>
> So they get saved. You may mean something else than preferences.
> Chart parameters are saved in broker.newcharts
> Database settings in broker.workspace (inside db directory).
> 
>  
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message ----- 
> From: "danielwardadams" <[EMAIL PROTECTED]>
> To: <amibroker@yahoogroups.com>
> Sent: Wednesday, August 23, 2006 4:15 AM
> Subject: [amibroker] Re: Preferences still reverting to default
> 
> 
> > Tomasz,
> > My broker.prefs is not read-only. The last modification date/time was
> > when I was altering preferences this mornng.
> > 
> > Dan
> > 
> > --- In amibroker@yahoogroups.com, "Tomasz Janeczko" <groups@> wrote:
> >>
> >> Hello,
> >> 
> >> broker.prefs - check if this file is NOT read-only. 
> >> (For example when copying files from CD-ROM they all get 'read-only'
> > flag)
> >> 
> >> http://www.amibroker.com/guide/x_files.html
> >> 
> >> Best regards,
> >> Tomasz Janeczko
> >> amibroker.com
> >> ----- Original Message ----- 
> >> From: "techsmart" <ges8ges@>
> >> To: <amibroker@yahoogroups.com>
> >> Sent: Tuesday, August 22, 2006 3:44 PM
> >> Subject: [amibroker] Preferences still reverting to default
> >> 
> >> 
> >> > This keeps happening and I cannot figure out why.  After several 
> >> > years of using AB, this just started a couple of months ago.
> >> > 
> >> > I'll load up AB and for some reason the preferences are set
back to 
> >> > some default.  Chart colors, data locations, intraday
intervals, etc. 
> >> > are all set back to some default.  I have to manually reset all
this 
> >> > stuff and it is a pain to have to keep doing this.
> >> > 
> >> > This seems to happen at random and just occasionally.
> >> > 
> >> > It seems this is happening to at least a few other users.  Does 
> >> > anybody have any good idea what is causing this?
> >> > 
> >> > Also...where do the preferences get stored?  I'm thinking that I 
> >> > could at least make a copy of the file (if there is one) and
put that 
> >> > in a different location and then just copy it back when I need
to get 
> >> > my prefs back.
> >> > 
> >> > Thanks,
> >> > 
> >> > g
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 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 other support material please check also:
> >> > http://www.amibroker.com/support.html
> >> > 
> >> > 
> >> > Yahoo! Groups Links
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> >
> >>
> > 
> > 
> > 
> > 
> > 
> > 
> > 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 other support material please check also:
> > http://www.amibroker.com/support.html
> > 
> > 
> > Yahoo! Groups Links
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
>








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 other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to