Using the TreeView on macOS I get the following messages in the PAServer window:
...Nov 7 15:19:04 Project1[3473] <Error>: CGContextSaveGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.Nov 7 15:19:04 Project1[3473] <Error>: CGContextRestoreGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.Nov 7 15:19:04 Project1[3473] <Error>: CGContextSaveGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.Nov 7 15:19:04 Project1[3473] <Error>: CGContextRestoreGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
<o:p></o:p>
Place the TreeView to an TForm, add a TButton with the following code in the OnClick() event:
procedure TForm1.Button1Click(Sender: TObject);var i : Integer;begin TreeView.BeginUpdate; for i := 1 to 1000 do TreeView.AddNode(nil).Text[0] := 'Test with <b>bold</b><br/>New Line'; TreeView.EndUpdate;end;
run it on macOS, click on the Button and scroll to the end.
Click at some lines.