PDA

View Full Version : DisplayNewRow



Bob Worsley
20-May-2007, 08:47 PM
Here's one for the suggestion box. I've set vdfDisplayNewRow to false in my
program, and it works fine - the user cannot add a new row to the grid.
There is one display problem with it and that's due to the initial lack of a
row to set up the horizontal spacing of all of the columns. Without an
initial row in the grid, the grid columns are only as wide as the headers
and consequently the blank screen is scrunched down in size and looks quite
ugly. When a record is found the entire screen, header and detail, is
resized and then looks as expected.

I tried setting vdfFixedColumnWidth but that didn't help, in fact it set the
columns the full width of the screen. My request would be if there's some
way to anticipate what the column sizes should be with a record in the grid
and keep the size relatively the same.

See the attached comparison. In the "NoRecord" screen shot notice that the
labels in the header are wrapped.
Bob

Edwin van der Velden
21-May-2007, 06:30 AM
Ok thanks for reporting, it has been fixed for the next release, the size
with vdfDisplayNewRow set to false and no records should now be the same as
with records/edit row.

-Edwin


"Bob Worsley" <bworsley@comcast.net> wrote in message
news:O06pAn0mHHA.580@dacmail.dataaccess.com...
> Here's one for the suggestion box. I've set vdfDisplayNewRow to false in
> my
> program, and it works fine - the user cannot add a new row to the grid.
> There is one display problem with it and that's due to the initial lack of
> a
> row to set up the horizontal spacing of all of the columns. Without an
> initial row in the grid, the grid columns are only as wide as the headers
> and consequently the blank screen is scrunched down in size and looks
> quite
> ugly. When a record is found the entire screen, header and detail, is
> resized and then looks as expected.
>
> I tried setting vdfFixedColumnWidth but that didn't help, in fact it set
> the
> columns the full width of the screen. My request would be if there's
> some
> way to anticipate what the column sizes should be with a record in the
> grid
> and keep the size relatively the same.
>
> See the attached comparison. In the "NoRecord" screen shot notice that
> the
> labels in the header are wrapped.
> Bob
>
>
>