Arthur Schwarz wrote:
Grid (again).
>
My grid has a cell with a list in it. I don't know if that's significant but:
1: The reported grid Width is too small and a horizontal scroll bar is
presented, and
2: The reported grid height is too short and a vertical scroll bar is
presented.
The dimensions are:
[virtual virtual + ]
With W/o scroll bar
[ 156 176 ] width
[ 190 200 ] height
[snip]
<rant - this is not just aimed at the OP>
Please take the time to post a *short*, but complete, example of the
problem that you are asking for help with. It is very time consuming to
put together example scripts to see if I can see the same behaviour,
especially if I don't have any detailed knowledge of the control that
you are talking about. Please read this if you haven't before:
http://www.catb.org/~esr/faqs/smart-questions.html
</rant>
That said, if you're trying to autosize the grid, then I doubt that it
takes into account any extra space required for any controls that may be
needed - but we'd have to read the documentation for the underlying Grid
Control, which on my previous forays I have discovered to be rather
sparse, leaving us only the underlying source code to unravel to work
out what is going on.
Regards,
Rob.