Page 1 of 1

System font dialog?

Posted: Sat Oct 21, 2017 12:52 am
by mark5009
Hi.

I'm just starting to get back into doing PB stuff and I find myself missing something obvious: user font selection. So I have a editor gadget and I want to allow the user to set the font using the system font dialog, just like in the form designer.

Anyone care to help me out with the obvious?

TIA .. mark.

Re: System font dialog?

Posted: Sat Oct 21, 2017 11:04 am
by mk-soft
You mean

Code: Select all

FontRequester("", 11, #PB_FontRequester_Effects)
:?:

Re: System font dialog?

Posted: Sat Oct 21, 2017 9:49 pm
by mark5009
mk-soft wrote:You mean

Code: Select all

FontRequester("", 11, #PB_FontRequester_Effects)
:?:
Doh! That'd be the one...

Many thanks .. m.