Information générale
Catégorie:
Codage, syntaxe et commandes
>>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement