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