Re: Incemental Search in Grid

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi vishnu.baroda

I am using a Text box and Grid VFP6 . In text box whatever we type
will search in Grid and make current record highlited (
DynamicBackColor) it works fine. I want that if I Type A in text box ,
all records started with A in grid would be in bold or visaversa. Will
it be possible ? how ?
It should be possible with these column.DYNAMICxxx properties, maybe especially DYNAMICFONTBOLD.
After the grid is filled with data, do once:
grid.setall("DynamicFontBold", "TheField=trim(TheTextbox.Value)", "column")

Maybe in textbox.InteractiveChange you need a line like:
grid.refresh()

Just try it.

Regards
Bernhard Sander
.



Relevant Pages

  • Re: grid.DynamicBackColor
    ... DynamicBackColor is a property of column, not grid. ... / v \ Simplicity is Beauty! ... May the Force and Farce be with you! ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Highliting Rows in a Grid ..
    ... look at each columns "dynamicbackcolor" property. ... >I want to highlight Certain rows in a grid based on when a specific ... Prev by Date: ...
    (microsoft.public.fox.programmer.exchange)
  • GRID HighlightStyle / DynamicBackColor
    ... I'm trying to make use of DYNAMICBACKCOLOR & DYNAMICFORECOLOR to allow users ... to select items from a grid (I use a UDF to control which rows have been ... Problem is I also use HighlightStyle = 2 on the grid which stops columns ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Incemental Search in Grid
    ... Bernhard Sander wrote: ... DynamicBackColor) it works fine. ... all records started with A in grid would be in bold or visaversa. ...
    (microsoft.public.fox.programmer.exchange)
  • Incemental Search in Grid
    ... I am using a Text box and Grid VFP6. ... DynamicBackColor) it works fine. ... all records started with A in grid would be in bold or visaversa. ...
    (microsoft.public.fox.programmer.exchange)