You forgot how to modify classes? <g>
Yyou shouldn't include parenthesis in the second parameter. It's the name of the property to set.
THISFORM.oSetAllX.SetAllX(THIS, "ClearSearchString", "", "Textbox")
>
>I am using the following SetAllx call in the Grid.Valid() for each textbox(es) in the columns:
>
THISFORM.oSetAllX.SetAllX(THIS, "ClearSearchString()", "", "Textbox")
>
>As not all textboxes involved in the columns of the grid have this method I get the following error for such textboxes
>
Property CLEARSEARCHSTRING not found
>
>Please advise on how to modify the SetAllx call so that I can avoid the error message
>
>Thanks
--sb--