Autor Beitrag
Memphis D
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 20



BeitragVerfasst: Fr 18.04.08 18:51 
Hi
also hab diese Rechnung in eine ListBox ausgegeben. So kann mir jemand zeigen wie ich das in einem Stringgrid ausgeben kann? Hab leider keine Ahnung mehr wie das richtig geht.

MfG

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
WITH Wertetabelle DO
            BEGIN
            IF Start<Ende THEN
              BEGIN
              FOR X:=Start TO Ende DO
                BEGIN
                Y:=a*X+b;
                Wertetabelle.Items.Add('      '+IntToStr(X)+'            '+IntToStr(Y));
                END
              END
            ELSE
              BEGIN
              FOR X:=Start DOWNTO ENDE DO
                BEGIN
                Y:=a*X+b;
                Wertetabelle.Items.Add('      '+IntToStr(X)+'            '+IntToStr(Y));


Moderiert von user profile iconGausi: Delphi-Tags hinzugefügt
Moderiert von user profile iconNarses: Titel geändert.
Moderiert von user profile iconNarses: Topic aus Sonstiges (Delphi) verschoben am Sa 19.04.2008 um 01:54
alzaimar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2889
Erhaltene Danke: 13

W2000, XP
D6E, BDS2006A, DevExpress
BeitragVerfasst: Fr 18.04.08 19:02 
Verwende doch einfach F1.

_________________
Na denn, dann. Bis dann, denn.
Jakob_Ullmann
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1747
Erhaltene Danke: 15

Win 7, *Ubuntu GNU/Linux*
*Anjuta* (C, C++, Python), Geany (Vala), Lazarus (Pascal), Eclipse (Java)
BeitragVerfasst: Fr 18.04.08 19:53 
Genau. Dann wirst du sehen, dass es eine passende Eigenschaft gibt. Lass dir einfach alle Properties auflisten, Alphabetisch, und überlege, wonach du suchst bzw. welche Property vom Namen her passen könnte.