Registriert seit: 1. Apr 2005
Ort: Bad Tölz
4.149 Beiträge
Delphi 2006 Professional
|
Re: case Verzweigungsproblem
30. Dez 2006, 23:11
öhm
willst dus niocht so?
Delphi-Quellcode:
var
x : integer;
begin
x := strtoint(stringgrid1.cells [1,1]);
case x of
1 : stringgrid2.cells [1,1] := 'Es geht so';
2 : stringgrid2.cells [1,1] := 'oder so';
3 : stringgrid2.cells [1,1] := 'oder halt so';
end;
Lukas Erlacher Suche Grafiktablett. Spenden/Gebrauchtangebote willkommen.
Gotteskrieger gesucht!
For it is the chief characteristic of the religion of science that it works. - Isaac Asimov, Foundation I, Buch 1
|