In BCB, how do I set the font color of custom labels added with
CustomAxis->Items->Add(NN,"XXX")?
Thank you for your assistance.
Custom Axis Labels - setting font color
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi MTW,
You can do this:
Or this:
Hope this helps!
You can do this:
Code: Select all
axis->Items->Add(123,"Hello")->Font->Size = 16;
Code: Select all
TAxisItem *axislabel = axis->Items->Add(-100);
axislabel->Transparent = false;
axislabel->Transparency = 50;
axislabel->Color = clBlue;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |