Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I know is the refresh method is with code?
Message
 
 
To
20/04/2000 09:43:14
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00361618
Message ID:
00362091
Views:
17
I was thinking a bit and rather than put the code in the textbox refresh, I could be better in the value_assign, like:

LPARAMETERS vNewVal
*To do: Modify this routine for the Assign method
THIS.Value = m.vNewVal
IF VARTYPE(this.value)="N"
this.forecolor = IIF(this.value<0,RGB(255,0,0),0)
this.disabledforecolor = IIF(this.value<0,RGB(255,0,0),0)
ENDIF

I think that with this, every time the value of the textbox changes his value, I get proper coloring, rather in the refresh that I must call it explicity via a thisform.refresh() o thisform.mytextbox.refresh().

What's your oppinion?
Pablo Roca
Clavo Congelados, S.A. (La Coruna - Spain)
Sysop of PortalFox

Join MasFoxPro campaign
http://www.masfoxpro.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform