SetIndexLabel does not update

Bug reports and errors in the program
Message
Author
Wessel
Posts: 63
Joined: Tue Oct 12, 2010 6:45 pm

SetIndexLabel does not update

#1 Postby Wessel » Tue Oct 26, 2010 4:46 pm

Using the following code:

Code: Select all

procedure OnParamsChange; stdcall;
begin
  SetIndexLabel(0, 'EMA'+IntToStr(period) );
end;         

Has no effect on the IndexLabel text even when the period is changed to another value with the options menu.

Same using the SetIndexLabel inside the Calculate also seems not to have the ability to change the text.

It looks like if it is set once it is unchangeable after that.

Is this a bug or a misinterpretation of me how to use the function.

How can I change the IndexLabel's when the Pramas changed ?


Wessel

Return to “Bug reports”

Who is online

Users browsing this forum: No registered users and 2 guests