General information
Category:
Coding, syntax & commands
>>this has been discussed here several times so u can seach in older threads
>>also u can look at the Tips'n'Tricks Section of VFUG (Tip#7)
>
>I tried it because I have a grid pick list everywhere in my systems. Sometimes, I have more than one column. So, that's why I was interested of trying it.
>
>I found that it is way too slow each time I move to another row. I may have done something wrong but here the situation. When I move to another row, the cursor or the current column is first highlited to the new row. For a flash, I still see the other row in another color. Than all the new row are in the new color. That's why there is a flash. I changed ForeColor for BackColor to make it clear which row is selected. Am I doing something wrong?
u are not doing anything wrong - this method is slow
because the update in the AFTERROWCOLCHANGE which
forces issueing refresh() to the grid (this is the speed panelty)
fortunetly there is a faster way putting the refresh (of the current record property) in the when even of the column
this way u save the grid.refresh()
(I guess i should have stated that in the tip,i'll re-write it)
Arnon
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only