Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using a Grid control as a pick list
Message
De
07/08/1996 11:10:34
 
 
À
07/08/1996 10:48:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00005173
Message ID:
00005194
Vues:
25
>>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
Fil
Voir

Click here to load this message in the networking platform