Autor Beitrag
juergen
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 87



BeitragVerfasst: Di 07.09.04 15:39 
Hallo,
wie kann ich einzelne Spalten in einem Stringgrid "readonly" setzen ?

DANKE

juergen
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Di 07.09.04 19:25 
Hallo

im onselectcell
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
with (Sender as TStringGrid)  do  
 begin 
  if (ACol=0) or (ACol=6) then   
    Options:=options+[goEditing]   
   else   
    Options:=options-[goEditing]  
 end;

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)