Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh cell in a grid
Message
 
 
To
25/07/2001 12:12:55
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00535086
Message ID:
00535123
Views:
23
>>Hi everybody,
>>
>>I have a combobox in my grid called cboTown. When I change towns, I want to change ccode as well. I have this code in InteractiveChange (and the similar one in LostFocus):
>>
>>
this.parent.parent.column2.text1.value=curTowns.ccode
>>
>>However, the new ccode is not refreshed until I move focus from town combo to another field. How can I show this change immediatelly?
>
>Nadya,
>Try :
>this.value=this.value
>as first line.
>Cetin

Didn't work :( There are other strange anomalies :( First, when I move focus to another field, the whole record is not selected (it's supposed to be, seems it's based on highlighted grid). If I change ccode, say, from 02 to 10 using towns combo and I move to another field, I'm sitting on the wrong record, which is not highlighted. The correct record is in the bottom of the grid (the table is sorted by situs) and it's highlighted!

Also when I close the form and try to modify the class AddrInGrid, which I use in a Grid, I get "Class is in use" message. Why it could be, since the form is closed? I checked DS, but there is no holding DS.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform