Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing a textbox in s grid- strange
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00133047
Message ID:
00133125
Vues:
14
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform