Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing a textbox in s grid- strange
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00133047
Message ID:
00133125
Views:
16
Explicitly refresh the grid by
Thisform.Refresh()
Thisform.Grid1.Refresh()

This will do.

Bye
Jayesh

>I have a need to format a date field that I display in a grid in a special format (e.g Thu Sep 3, 1998). I can do this in a textbox that is not part of a grid by putting code in the REFRESH method to set the value of the textbox to the desired string. For example, if the field in the table is called StartDate, and I have a function FormatDate that does the proper formating, then in refresh, I put this.value=FormatDate(StartDate) and all is well. However, this does NOT seem to work in a textbox in a grid. In fact, the refresh method of the textbox does not appear to get called at all.
>HELP!
- Jayesh
Previous
Reply
Map
View

Click here to load this message in the networking platform