Jump to content
Sign in to follow this  
JustinReno

_ChooseFont

Recommended Posts

JustinReno

Ive been continuing my development on SimplePad, ive recently looked into font settings for it.

I know how to use it, _Choosfont, but i forgot how to set it up for actual use.. I had it before but then since i didnt have file formating ready i deleted it and then i forgot to backup up the orignal choosefont that worked. Can anyone point me in the right direction? Thx.

Edited by JustinReno

Share this post


Link to post
Share on other sites
Josbe

Ive been continuing my development on SimplePad, ive recently looked into font settings for it.

I know how to use it, _Choosfont, but i forgot how to set it up for actual use.. I had it before but then since i didnt have file formating ready i deleted it and then i forgot to backup up the orignal choosefont that worked. Can anyone point me in the right direction? Thx.

There isn't attached an example in the Helpfile? :)

If you look the parameters, maybe you could remember how is used.

UDF/Misc Management/_ChooseFont

Share this post


Link to post
Share on other sites
JustinReno

Sorry, i forgot about the examples in the help, Now i now the Arrays, how do i implement it into Edit Control?

EDIT: I FOUND IT!

CODE

$cfont = _ChooseFont()

GUICtrlSetFont($Edit, $cfont[3], $cfont[4], $cfont[1], $cfont[2])

GUICtrlSetColor($Edit, $cfont[7])

Edited by JustinReno

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×