Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the font in Treeview Control
Message
 
To
28/11/2006 01:19:22
Herb Ellerbock
Customized Computer Systems
Australia
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
01172837
Message ID:
01172868
Views:
21
This message has been marked as a message which has helped to the initial question of the thread.
>Hi All,
>
>I need a treeview control which gives me some control over appearance. The Nodes, SelectedItem and Font objects are not exposed in MS Treeview Control 6.0 (SP4) and apart from the samples, I can't find any information on their properties, methods and events.
>
>Can anyone point me in the right direction or suggest an alternative treeview control?
>
>Thanks.
It's quite easy! For example,Font object

thisform.olecontrol1.font.Name="Arial"
thisform.olecontrol1.font.Size=16

and other properties of the Font object are:
Bold,Charset,Italic,Strikethrough,Underline and Weight

You can find the description of the TreeView properties
on MSDN Web-site
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cmctl198/html/vbobjTreeView.asp
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform