Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update on grid click problem
Message
From
18/08/1998 18:32:14
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Update on grid click problem
Miscellaneous
Thread ID:
00127937
Message ID:
00127937
Views:
58
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
~~~~~~~~~~
Next
Reply
Map
View

Click here to load this message in the networking platform