Hi
I have recently upgraded from version 8 to 2014 and I have found that the crossbox that appears in a TTree seems to be blurry. in version 8 the crosboss in the TTree component looked like a sharp +
However now it is hard to even see it is +, is there some new option I can change to get the crossBox to be sharp?
Cross box in TTree
Cross box in TTree
- Attachments
-
- Untitled.jpg (13.33 KiB) Viewed 6835 times
Re: Cross box in TTree
Hello,
This is because the default Canvas changed to GDIPlus.
This is because the default Canvas changed to GDIPlus.
- To change the Canvas in the current TTree, you have two options:
- Open the dfm and change this:
for this:
Code: Select all
DefaultCanvas = 'TGDIPlusCanvas'
Code: Select all
DefaultCanvas = ''
- Call this at runtime:
Code: Select all
uses TeCanvas; procedure TForm1.FormCreate(Sender: TObject); begin Tree1.Canvas:=TTeeCanvas3D.Create; end;
- Open the dfm and change this:
- To change the default Canvas to be used in the next Trees and Charts you'll create, you can drop a temporal TChart into a form, follow the instructions here, and then you can remove the TChart.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Cross box in TTree
Thanks for that. I had been looking for that for awhile. I have also found that the cross still doesn't look right so I changed tmpExtra to be 1 in the method TTreeNodeCrossBox.Draw(...) and it all looks like it did before.