Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » How to set GridCtrl header font size?
Re: How to set GridCtrl header font size? [message #32967 is a reply to message #32747] Sun, 26 June 2011 13:57 Go to previous message
unodgs is currently offline  unodgs
Messages: 1367
Registered: November 2005
Location: Poland
Ultimate Contributor

kropniczki wrote on Sun, 05 June 2011 16:36

Pls,

How to set a GridCtrl header font size?
I´ve tried
mygrid.AddColumn("my grid col").SetFont(Arial().Height(8));



I've added SetHeaderFont(). Try this code:
mygrid.AddColumn("my grid col").SetHeaderFont(Arial(25));
mygrid.SetRowHeight(0, 40);

I'll add respecing Height() method leater.
 
Read Message
Read Message
Read Message
Previous Topic: tracking GridCtrl selection
Next Topic: Database with several windows
Goto Forum:
  


Current Time: Sat Jul 19 02:19:18 CEST 2025

Total time taken to generate the page: 0.03759 seconds