>>>Borislav,
>>>I agree that using my text box class is the best answer but the question is how to change out the existing text box on all columns in over a hundred grids?
>>
>>Are you use a Native GRID control (you are doomed if you do so), or you have your own one?
>
>All the grids are based on our base grid class but almost all were created with VFP 6.
That you could change you base Grid class and redefine the control youu sed in the columns to your own, on top of my head, put this in your Grid Base Class Init:
FOR EACH oCol IN this.Columns
IF UPPER(oCol.CurrentControl.Class) == [TEXTBOX]
oCol.NewObject([MyText],[YourTextBoxClass],[VCX wher class is defined])
oCol.RemoveObject([Text1])
oCol.CurrentControl = [MyText]
oCol.MyText.Visible = .t.
ENDIF
ENDFOR
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.