Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid highlighter issue
Message
 
 
To
05/01/2003 09:53:20
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00737984
Message ID:
00738249
Views:
16
>Hi
>
>Sorry for my poor english.
>What I mean for increasing column is actually the grid
>had 03 columns. The last columns is holding the individual
>display item total count.
>
>When I select any of the item on the grid by clicking
>on the first or second columns and then click my other
>button to increase that selected column, the selected and
>highlighted row must remain, without the active row going to the
>first row after the third columns value changes.
>
>The strange thing is when I select the row by clicking
>the third column and clicking the button to increase the
>count, the third columns value remain unchanged, only
>clicking other column, the third column value will be
>updated. But, I had all the 3 column having the same
>code, why the third column is having this problem when
>the other 02 column is okay ?
>
>Please advise. Thank you

Do you mean, that the value in the column remains unchanged until you move focus to another column? I think, such weird things can happen... Do you have grid.refresh()? Can you try to put go recno() in your routine... The dumb workaround would be to move focus to another column, then back... Also, what is sparse property for this column? Try to switch it to another value and see, if it helps...

BTW, I just checked your reply to Nick. It seems, that you rebuild grid's recordsource each time. I believe, it's unnecessary and may cause your original problem...
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform