Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Large Fonts in Treeview, ListView
Message
From
28/08/2001 12:44:28
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00548931
Message ID:
00549909
Views:
12
>Is there a way to force the Treeview and Listview ActiveX controls to not shrink and grow according to whether the user has Large Fonts or Small Fonts selected in their display settings? My foxpro controls stay small fonts regardless of what setting the user has, but not my ActiveX controls.

Add the following code to the Init Method of the TreeView and ListView controls.
WITH THIS.OBJECT
  WITH .FONT
    .NAME       =  'Arial'
    .SIZE       =  8  && change to how small or big you want the font
  ENDWITH
  .INDENTATION  = 15  && other settings you can set here as well
ENDWITH
ramil
~~ learning to stand still
Previous
Reply
Map
View

Click here to load this message in the networking platform