Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Large Fonts in Treeview, ListView
Message
De
28/08/2001 12:44:28
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00548931
Message ID:
00549909
Vues:
17
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform