When a TovcOutline has a string of more than 255 chars, the program will
crash in loops of error notifications when the cursor is set on the item and
the hint is to be displayed.
This is because in the ovcOutln.pas unit, the
procedure TOvcCustomOutline.HoverTimerEvent(Sender : TObject; Handle :
Integer;
Interval : Cardinal; ElapsedTime : LongInt);
{display/hide hint with truncated text}
declares :
var
HintStr : array[0..255] of char;
and then do:
S := Node[Index].Text;
StrPCopy(HintStr, S);
Tw := HintWindow.Canvas.TextWidth(S);
The last line will crash the program if length( S) > 255 because HintStr is
not correct !
This internal limitation is not documented...
Hmm - yes. Sorry about that. I'll log a bug.
- Per
"Marc deroover" <mder...@arcadis.be> wrote in message
news:VQMQhser...@tpsmail01.turbopower.net...