ReadOnly on indivual cell
#1
Posted 25 February 2007 - 12:15 AM
How to do this ?
(I use inplace edits)
#2
Posted 25 February 2007 - 06:24 PM
I have not used inpleace edits, so I don't know whether that will cause problems, but I shouldn't think so.
#3
Posted 25 February 2007 - 07:45 PM
I think that you may use OnBeforeSelect for your case.
regards
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#4
Posted 03 January 2017 - 12:29 AM
procedure TForm2.NextGrid1BeforeEdit(Sender: TObject; ACol, ARow: Integer;
var Accept: Boolean);
begin
Accept := TNextGrid(Sender).Cell[ACol - 1,ARow].AsString = 'key2';
end;
By the way, it is for future reference.
Santiago.
#5
Posted 11 August 2019 - 07:26 PM
i use d7 and nextgrid version 5.9.85 how to chnge font color for a specific cell?
thanks
#6
Posted 11 August 2019 - 08:59 PM
There is OnCellFormating event that can be used.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users