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

TIA,
Tracy
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Next
Reply
Map
View

Click here to load this message in the networking platform