Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change texbox fontname programmatically?
Message
De
14/06/2002 13:21:04
 
 
À
14/06/2002 13:05:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00668651
Message ID:
00668663
Vues:
22
>I've been trying to change the fontname of a textbox programmatically using the following code:
>
>
>THIS.value="This is an example of the font "+thisform.combo1.value
>This.fontname=thisform.combo1.value
>this.refresh()
>
>
>However, while the value changes as it should, the fontname does not. The textbox retains the original fontname from when the form was instantiated. Any ideas?

Are you sure? I put your code in a textbox click() method and it works just as you would expect...
----------------------------------
António Tavares Lopes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform