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
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