Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Row Highlighter
Message
De
22/10/2001 05:24:52
 
 
À
22/10/2001 02:21:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00571546
Message ID:
00571563
Vues:
27
Ephraim,

I think you have invented this round thing that we call a wheel :)

If you look in the downloads section there are a few similar classes available
The one by Nick N. is very popular and has some advanced functionality.

HTH

Will

>Hello to all of you guys... I hope this grid highlightre will help you in creating more exiting modules. Below is a simple command that will put a grid highlighter in your grid. If you are familiar with the clipper tbrowse or browser this may look similar.
>
>* grid highlighter
>
>* in the Init Event of the form
>
> public precno
> precno = 0
>
> select xdatabase
> go top
>
>* in the event of AfterRowColChange Event
>
> precno = recno()
> this.refresh
>
>* in the DynamicBackColor of each grid's column
>
> iif(recno() # precno, RGB(255,255,255), RGB(128,128,128))
> && shows gray color background on the current row
>
>
>* note: be sure the record source of the grid is filled up.
>* the precno variable can be initalized at the start of the program
>* this can be recycled over and over again
>* if you want to view more about the grid highlighter just
>* download the file attached
>
>for a sample file on this just e-mail me at epsums@yahoo.com
Will Jones
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform