>>No, I can't see that; the syntax is:
>>
>>Container.SetAll(cProperty, Value [, cClass])
>>
>>So this would be Thisform.grdMyGrid.SetAll( "Width", 200) && so setting the width of the grid, or
>>Thisform.grdMyGrid.ColumnX.SetAll( "Width", 200)
>>
>>So you'd need to specify which column and, as there's only one Width property to it, setall is redundant.
>
>Unlike many other methods, SetAll() is not supposed to modify the container, but the contained objects. In other words, Grid.SetAll(...) will change objects
contained within the specified grid.
>
>The following sample - on a separate CommandButton - works fine for me:
>
>
>ThisForm.Grid1.SetAll("Width", 30)
>
>* or:
>
>ThisForm.Grid1.SetAll("Width", 30, "Column")
>
DOH!
It's so long since I've used it, I'd forgotten the CLASS param, which applies to the contained column class. Of ourse, you're right!
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.