Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update on grid click problem
Message
De
18/08/1998 18:32:14
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Update on grid click problem
Divers
Thread ID:
00127937
Message ID:
00127937
Vues:
55
Taking Jim's advice and working with a simple test form, I was able to get the action of clicking on the grid to produce a total in a textbox elsewhere on the form. What I did was the following:

in the grid1.column4.textbox click event
thisform.grid1.click()

in the grid1.click event
** sum all with a certain category to thisform.textbox1.value

That way, when I clicked on the grid (in the proper column, of course, I only did it for one column) it would cause a sum of all items with the same category as what I clicked on to come up.

I tried basically the same thing with the multiselect grid (except the update code is in the refresh of the form). I put code in the grid1.column4.textbox.click that said "thisform.refresh". That should kick off the refresh method of the form, right? It didn't. I put a set step on right above where I'd said thisform.refresh. Still no help. No refreshing, no stepping, no nothing but regular multiselect grid operation.

I'm out of ideas.... anyone else have any? Thanks.

Denise Duggan
~~~~~~~~~~
Denise
~~~~~~~~~~
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform