Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Google search


Poll
How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
17%
200 - 500 GB
25%
500 - 800 GB
3%
800 - 1200 GB
11%
1200 - 1500 GB
11%
1500 - 2000 GB
14%
> 2000 GB
19%
Total votes: 36

Baanboard at LinkedIn


Reference Content

 
set.tree.font()
By patvdv at 26 Feb 2008 - 21:57

set.tree.font()

Syntax

void set.tree.font( string tree_name(25), long visible_level, long font
    [, long process_id ] )

Description

This changes the font used for nodes at a particular level in a specified tree. Use load.font() to load the font that you want to use.

Arguments

tree_name

The name of the tree for which you want to change the font.

visible_level

This is a number, in the range 1 to 3, that specifies the node level to which the new font is to be applied. Visible level 1 specifies the highest level currently visible in the tree. Visible level 3 specifies levels three and below. See view.tree().

font

The font to be applied to the specified node level.

process_id

This optional argument indicates the process ID of the tree for which the font must be changed. If you do not include this argument, the new font is applied to the specified level in all trees with the name tree_name.

Context

3GL library function.

Example

 long mask, font, proc_id
 long request(FNTMAXSIZE)
 long reply(FNTMAXSIZE)

 proc_id = create.tree("test", "Test Structure Chart Manager")

 mask = FNTHEIGHT + FNTWEIGHT + FNTSLANT
 fnt.weight(request) = FNTMEDIUM
 fnt.height(request) = 12
 fnt.slant(request) = FNTROMAN
 font = load.font(current.display(), mask, request, reply)
 set.tree.font("test", 1, font, proc_id)

Related topics


0
No votes yet


All times are GMT +2. The time now is 14:43.


©2001-2018 - Baanboard.com - Baanforums.com