Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating form object values moving through grid
Message
 
À
20/07/2006 07:37:11
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01137977
Message ID:
01137981
Vues:
15
Jay,

If you want textbox with binding to any source, you must
1) call his method SetFocus() - then VFP write value to (ControlSource)
2) set value to (ControlSource) and call method Refresh()

Your original technique is for nonbinding objects.

MartinJ

>MyTable.Name
>
>>Hi Jay,
>>
>>What is controlsource of textbox?
>>
>>MartinJ
>>
>>>Very simple form that has a grid of a local table. As I move through the grid, the AfterRowColChange has this:
>>>
>>>
>>>ThisForm.txtName.Value = MyTable.Name
>>>ThisForm.txtName.Refresh
>>>ThisForm.Refresh (just for the hell-of-it)
>>>
>>>
>>>But the value does not change. I'm sure it's simple. Too little sleep, not enough coffee I guess.
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform