Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetFont()
Message
De
27/09/1996 17:47:54
 
 
À
27/09/1996 17:42:50
Otto Marais
Computer House In Processing
Pretoria, Afrique du Sud
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00008694
Message ID:
00008696
Vues:
28
>Does anyone know of a way to set the Font Dialogue Box's font, size and styles during run-time when it pop's up.
>
>We are using this dialogue box from the menu bar for the current active control on a form, and would like to set the dialogue box's Font, Size and Style to that of the current active control on a form.
>
>I do not have a problem with referencing the current active control, but with setting the default values of the Font Dialogue Box to the same as that of the control.
>
>Any suggestions?
>
>Otto

>> Use AFONT() function to get font attribute array as a source for your font name/size/style comboboxes and then set
Combobox.value=your_control.fontname/size...
Surely it will wotk if you create custom form for font selection.
I have no idea how initialize standard font dialog.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform