Welcome, Guest
Username: Password: Remember me
General Purpose Components and Libraries, discussions, problems and suggestions
  • Page:
  • 1

TOPIC:

TStringGrid Question 12 years 3 weeks ago #1887

  • Curt
  • Curt's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 1
I am using a TStringGrid in an application and I am using 4 columns of the grid as checkboxes.

This is the first time I have used this custom feature and I have a question.

The grid is loaded from an external file. the checkbox columns all indicate their correct
state after the file is loaded. (checked or unchecked)

However some, not all cells in all 4 columns are greyed out. Others are not.
How is this done or how can I make it so all the checkboxes are correct but not greyed out?

I felt that asking here would result in a well reasoned and accurate response even though this
is not in any way a CodeTyphon problem. Seems like Lazarus to me.

Thanks,

Curt

Addendum: If I set the grid for editing I can check and uncheck all of the checkbox cells and
changing the state of the greyed cells ungreys them. I just do not understand.....

Please Log in or Create an account to join the conversation.

Last edit: by Curt. Reason: Added info

Re: TStringGrid Question 12 years 3 weeks ago #1903

  • Curt
  • Curt's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 1
Found it. Bad or incorrect data in file. Was looking for 1 or 0 greyed out
display was for empty or no data present.

C.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1