Page 1 of 1

Font Requester with Default Font Style set!

Posted: Wed Aug 13, 2008 2:06 pm
by Chirantha
How do I how a Font Requester with the font style set? PB's current function only supports getting the style :(

Posted: Wed Aug 13, 2008 2:17 pm
by srod

Posted: Wed Aug 13, 2008 2:52 pm
by Chirantha
Yes, but how do I get the name of the font.. its complex :(

Posted: Wed Aug 13, 2008 3:02 pm
by Fluid Byte
Get? I tought you want to set? If that wasn't a typo than SelectedFontName() is your friend. -> RTFM!

Posted: Wed Aug 13, 2008 3:10 pm
by srod
Chirantha wrote:Yes, but how do I get the name of the font.. its complex :(
No more complex than for anyone else writing the code for you. Have a quick trawl through the api docs and you'll soon see how to grab the selected font name.