Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change texbox fontname programmatically?
Message
From
14/06/2002 13:21:04
 
 
To
14/06/2002 13:05:01
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00668651
Message ID:
00668663
Views:
21
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform