Solved Tree font size

General discussion forum about all things Team Developer 7.x
Acclaro
Germany
Posts: 10
Joined: 16 Mar 2017, 08:13
Location: Hannover, Deutschland

Tree font size

Post by Acclaro » 05 Mar 2018, 15:33

Hello community,
does anybody know how to set the size of the font
for the whole tree control or one entry programmatically?

The only possibility I know is via Attribute Inspector.
BUT having different screen resulutions from 1280 x something to 4 k the font is either to large or to small.

(Same thing in the IDE changing the font settings doesn't change the font of the tree.)

SalTreeSetFontSize( )??

Thanks in advance

Matthias

Jeff Luther
Site Admin
Site Admin
United States of America
Posts: 124
Joined: 04 Mar 2017, 18:34
Location: Palm Springs, California

Re: Tree font size

Post by Jeff Luther » 05 Mar 2018, 17:14

bOk = SalFontSet ( hWnd, strName, nSize, nEnhancement ) works, at least in my simple tree test case. See the attached image, Matthias.
You do not have the required permissions to view the files attached to this post.
Jeff Luther @ PC Design
Palm Springs, California
TD info. & samples: http://www.jeffluther.net/TD/

Acclaro
Germany
Posts: 10
Joined: 16 Mar 2017, 08:13
Location: Hannover, Deutschland

Re: Tree font size

Post by Acclaro » 05 Mar 2018, 17:33

Thanks a lot,
Jeff, it works.

Life can be so easy.
Time to quit for today.

Jeff Luther
Site Admin
Site Admin
United States of America
Posts: 124
Joined: 04 Mar 2017, 18:34
Location: Palm Springs, California

Re: Tree font size

Post by Jeff Luther » 06 Mar 2018, 16:09

You are welcome. HTH!
Jeff Luther @ PC Design
Palm Springs, California
TD info. & samples: http://www.jeffluther.net/TD/

Return to “General Discussion”

Who is online

Users browsing this forum: Ccbot [Crawler] and 0 guests