Hi Friends...
I use Delphi 2010 application..
To do some calculation I load array of numbers into string grid but some times i have to make some of the rows inactive and do the calculations..Can any body help me out with a code to disable selected rows and do my work,,,
thanks in advance...
hosamath 0
Newbie Poster
Recommended Answers
Jump to PostYou can make whole string grid Disabled for Editing ....
Below is a small example how to change Enable/Disble Editing of the StringGrid1:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Grids; type TForm1 = class(TForm) StringGrid1: TStringGrid; CheckBox_StringGrid_Enable: TCheckBox; procedure …
Jump to PostThanks for the code that u sent... But is there any way that i can disable only a selected number of rows of my wish than disabling entire StringGrid data...
Your question is for Delphi 2010.
My answer above is for Delphi 7.
I hope that there is any way …
All 5 Replies
finalist 1
Junior Poster in Training
hosamath 0
Newbie Poster
finalist 1
Junior Poster in Training
hosamath 0
Newbie Poster
finalist 1
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.