I try to set my own text int CursorTool Annotation like this
Code: Select all
pTCursorTool->AxisAnnotation->Text = "L " + TDateTime(XValue).FormatString("yyyy-mm-dd hh:nn");
I try do this in AxisAnnotation->OnBeforeDraw, but this doesn't work too.
Any idea how to do this properly?
I also don't know how to add "Cursor.Annotation.Text.Format.Children" form code
Regards,
Grzegorz