Font Requester with Default Font Style set!

Just starting out? Need help? Post your questions and find answers here.
Chirantha
User
User
Posts: 54
Joined: Sat Jul 16, 2005 7:22 pm

Font Requester with Default Font Style set!

Post by Chirantha »

How do I how a Font Requester with the font style set? PB's current function only supports getting the style :(
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

I may look like a mule, but I'm not a complete ass.
Chirantha
User
User
Posts: 54
Joined: Sat Jul 16, 2005 7:22 pm

Post by Chirantha »

Yes, but how do I get the name of the font.. its complex :(
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

Post by Fluid Byte »

Get? I tought you want to set? If that wasn't a typo than SelectedFontName() is your friend. -> RTFM!
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post 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.
I may look like a mule, but I'm not a complete ass.
Post Reply