Autor Beitrag
unix_agent
Hält's aus hier
Beiträge: 10


WIN XP, Delphi 7, Ubuntu
BeitragVerfasst: Mo 12.02.07 20:29 
Hey,
wieder mal so eine newbie frage^^

ich habe eine checklistbox mit 44 einträgen auf Form1. Nun will ich auf Form 2 in einer Groupbox o.ä. die markierten einträge in der checklistbox anzeigenlassen.


hab schon einiges probiert nach dem motto - learning by doing. aber learning geht nicht wenn doing nicht klappt ;)


Moderiert von user profile iconChristian S.: Topic aus Delphi Language (Object-Pascal) / CLX verschoben am Mo 12.02.2007 um 22:25
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mo 12.02.07 20:32 
Moin!

user profile iconunix_agent hat folgendes geschrieben:
hab schon einiges probiert nach dem motto - learning by doing. aber learning geht nicht wenn doing nicht klappt ;)

Dann zeig doch mal den Code, mit dem es nicht klappt; dann untersuchen wir mal warum. ;)

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
ZeitGeist87
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1593
Erhaltene Danke: 20

Win95-Win10
Delphi 10 Seattle, Rad Studio 2007, Delphi 7 Prof., C++, WSH, Turbo Pascal, PHP, Delphi X2
BeitragVerfasst: Mo 12.02.07 20:33 
Hallo!

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
 var i: integer;
 begin
  ...
  for i:= 0 to CheckListBox.Items.Count-1 do
  begin
   if CheckListBox.Selected[i] = true then
    Form2.Memo.Lines.add(CheckListbox.Items.Strings[i]);
  end;
 end;


Hoffe es hilft dir weiter!

LG
Stefan

_________________
Wer Provokationen, Ironie, Sarkasmus oder Zynismus herauslesen kann soll sie ignorieren um den Inhalt meiner Beiträge ungetrübt erfassen zu können.
unix_agent Threadstarter
Hält's aus hier
Beiträge: 10


WIN XP, Delphi 7, Ubuntu
BeitragVerfasst: Mo 12.02.07 20:48 
wo kommt das hin?
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mo 12.02.07 20:53 
Moin!

user profile iconunix_agent hat folgendes geschrieben:
wo kommt das hin?

In deinen Quelltext... 8) Nein, ernsthaft, wenn du nicht verstehst, was du da tust, dann wirst du es auch nicht lernen. ;)

@user profile iconZeitGeist87: Hehe, das kommt davon, wenn man QT liefert... :P

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
unix_agent Threadstarter
Hält's aus hier
Beiträge: 10


WIN XP, Delphi 7, Ubuntu
BeitragVerfasst: Mo 12.02.07 22:22 
so blöd bin ich auch net :P
ich meine, kommt es auf den button, der zu form2 weiterleitet oder kommt es in die checkbox in form2 ?
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mo 12.02.07 22:25 
Moin!

user profile iconunix_agent hat folgendes geschrieben:
so blöd bin ich auch net :P

OK, was tut denn dann der Quelltext? ;)

user profile iconunix_agent hat folgendes geschrieben:
ich meine, kommt es auf den button, der zu form2 weiterleitet oder kommt es in die checkbox in form2 ?

Das ergibt sich aus der Funktion, würde ich sagen. Daraus leite ich ab, dass du nicht verstanden hast, was der Code tut... :?

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
unix_agent Threadstarter
Hält's aus hier
Beiträge: 10


WIN XP, Delphi 7, Ubuntu
BeitragVerfasst: Mo 12.02.07 22:27 
k habs schon thx

Edit:

es kommt auf die checkbox in form1 ;) habe nur halb hingeguckt^^
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mo 12.02.07 22:32 
Moin!

user profile iconunix_agent hat folgendes geschrieben:
k habs schon thx
es kommt auf die checkbox in form1 ;) habe nur halb hingeguckt^^

Na sowas, kaum macht man das Gehirn an, versteht man auch was... :roll: ;)

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.