Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hilight entire grid row when active.
Message
 
À
22/05/1998 14:42:04
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00100795
Message ID:
00101665
Vues:
38
>>OK guys,
>>
>>Say I want to color each row in a grid an alternating white and pale green -- like you see on on old green-bar paper. I can't see an easy way of doing this using dynamic properties. How would I do it?
>>
>>Regards,
>>
>>JME
>James,
>Based on different scenarios, different approaches possible to show something is slow or fast. I say, regarding to original title, if it's desired to hilite current row then dynamiccolors are sufficient and flexible enough both in respect to visual fx and speed. Secondly, regarding the other reply to Arnon, never be so sure that something can't be done. Details are in a thread months ago but as an overview clue a parallel related sql ordered table would supply the way for that white-pale green. Now I ask, how would you handle not only colors but fonts, currentcontrol, inputmask etc dynamically ? Dynamic*color is not only accessory properties of grid. Definitely David Frankenbach's shape approach is an state-of-art approach. I appreciate it but here dynamic*colors are sufficient IMHO.
>Cetin

I have found DynamicColor properties sufficient for most tasks also. The one exception to this is if you want to highlight the current row even if the grid does not have focus. Currently, the most often used solution (and I feel, the worst) is to make a property on a parent object to the grid which holds the current recno. The other solution is to use a shape object that places itself over the row.

This is one of those things I was hoping we would be able to see in VFP 6.0. Alas, grids--VFP's most buggy class IMHO--seem to have had very few improvements/bug fixes.

Michael G. Emmons
memmons@nc.rr.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform