>I just tried the above suggestion with 100 and it works. That is, the grid becomes invisible, when I resize the form. No error message (which is the goal hear).
>I will try some other numbers. But I think - guess - that as long as the number is greater than 0, the error will not happen.
Not so sure that 1 would work, because the basic elements of the grid require space - the border, the delete mark, current record mark, vertical scrollbar, their dividing lines. It may complain if there's no room for those, which is why I suggested testing different values.