joeblogss84
2002-05-07 01:41:18 UTC
G'Day all,
I am sure this is simple as I can see examples of the sort of
behavior I want about the place.
When I put a TStringGrid (standard component as supplied in D5) onto
form I find that three is always a cell highlighted - even when the
grid doesn't have focus.
I have looked on the www and searched in the archive for some clue
but the terms I need to search on are so general that getting a good
match is not working for me.
Questions:
1) How can prevent the cell/row from being highlighted (blue
background) when the grid no longer has focus?
2) How can I force the grid to allow no rows? (The component forces
at least one row, at least it is for me.)
In the case of having one fixed row, which I may want, I would want
to be able to restrict the number of rows to one (just the fixed
column headers). Hoever, currently I am forced to have a row count
of 2 for a fixed row count of 1.
As I said I am sure this is simple, but I can find the property I
want.
Thanks,
Ian
I am sure this is simple as I can see examples of the sort of
behavior I want about the place.
When I put a TStringGrid (standard component as supplied in D5) onto
form I find that three is always a cell highlighted - even when the
grid doesn't have focus.
I have looked on the www and searched in the archive for some clue
but the terms I need to search on are so general that getting a good
match is not working for me.
Questions:
1) How can prevent the cell/row from being highlighted (blue
background) when the grid no longer has focus?
2) How can I force the grid to allow no rows? (The component forces
at least one row, at least it is for me.)
In the case of having one fixed row, which I may want, I would want
to be able to restrict the number of rows to one (just the fixed
column headers). Hoever, currently I am forced to have a row count
of 2 for a fixed row count of 1.
As I said I am sure this is simple, but I can find the property I
want.
Thanks,
Ian