John Ramsden
|
| Posted: 12/03/2002, 10:41 AM |
|
After using the Grid builder to create a grid, I want to add
to it a couple of columns whose values I will set in an event
procedure.
But when I switch to the Design view, highlight the grid, and
click on anything from the Toolbox \ Forms menu, the item just
_replaces_ the grid! DUH!!
Surely there must be a simple GUI way of adding a new column
to a grid, without having to manually modify the automatically
generated grid code ?! But the edit grid box only seems to allow
the grid display style to be changed.
(Eventually I want to display a thumbnail image in this new
column, with the image colour determined by the value of a
hidden status column, and allow the user to click on a red
image to indicate that they have seen it, after which the
status in the database will be reset to zero and the image
will be replaced by a green image.
But so far, despite reading the documentation practically from
cover to cover I still don't have the faintest idea how or even
whether this can be done using CCS.
Cheers
John Ramsden
|
|
|
 |
RonB
|
| Posted: 12/03/2002, 2:31 PM |
|
ehm, right click in the grid at about the place you want to add a column, a menu appears and somewhere in the middle you click on add column. Voila you just added a column to an existing grid!!
|
|
|
 |
John Ramsden
|
| Posted: 12/04/2002, 1:30 AM |
|
Ah, thanks Ron. I tried that and set the width of the new column to 20%
of the table.
The snag is that now the new (rightmost) column extends to the bottom
of the table, splitting the "First / Prev / Next" line.
Is there a simple way of making it "consistent" with the other detail
columns previously set up by grid builder, so that the navigation line
extends below the newly added column to the right edge of the table?
I tried a few things, but no luck so far.
Cheers
John Ramsden (john_ramsden@sagitta-ps.com)
|
|
|
 |
RonB
|
| Posted: 12/04/2002, 12:07 PM |
|
You have to merge the two. Ser the cursor in the first column. hold shift and press right arrow. In the menu at the top of the page the merge icon now glows light blue. Click it and you have merged the two.
Ron
|
|
|
 |
|