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 do I get parameters for GetTextSize ( Get parameters for GetTextSize)
Re: How do I get parameters for GetTextSize [message #43345 is a reply to message #43344] Fri, 04 July 2014 18:38 Go to previous messageGo to previous message
awksed is currently offline  awksed
Messages: 61
Registered: April 2012
Member
Hi Biobytes,

Sorry. I must be rather dense but I cannot see where in the link you provide there is a clue as to how answer the following question:-

Given:

DropList dl;

dl.Add(0, AttrText("This is bold")SetFont(Courier(25)).Bold());

Font font = ???

// Please replace the ??? with the appropriate code to obtain the Font object that is set in dl[0] above (which would be the appropriate Font object to pass to GetTextSize(..., font) for dl[0]).

Regards,

awksed
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to position dialog in relation to parent window
Next Topic: Display of long text
Goto Forum:
  


Current Time: Sat Jun 08 06:29:17 CEST 2024

Total time taken to generate the page: 0.01750 seconds