Autor Beitrag
Gabberman
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 55



BeitragVerfasst: So 18.09.05 14:03 
Hy @all ,
ich wollte mein Formular wie eine Internetpräsenz gestalten, so mit Frames und so. Das imprinzip links die navigation ist und dann im rechten frame der inhalt kommt. WEiß jemand wie das funktioniert!!!!
Es wäre schön wenn mir jemand helfen könnte!!!

MfG

Gabberman


Moderiert von user profile iconGausi: Topic aus Delphi Language (Object-Pascal) / CLX mit einer Zwischenstation verschoben am So 18.09.2005 um 15:12
Alstar
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 827



BeitragVerfasst: So 18.09.05 14:06 
Was hat das mit Delphi zu tun?

Alstar
Gabberman Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 55



BeitragVerfasst: So 18.09.05 14:09 
Wie jetz, das versteh ich nicht!!! ich möchte das mit Delphi halt programmieren!!!
Alstar
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 827



BeitragVerfasst: So 18.09.05 14:10 
Du weißt schon, dass Websiten keine EXE-Dateien sind die ausgeführt werden, sondern Skript-Code, der vom Browser interpretiert wird?
Oder möchtest du HTML-Seiten mit einem Delphi-Programm generieren lassen?

Alstar
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: So 18.09.05 14:11 
Ahh...nadann...nochmal verschieben ;-)

Eine Idee wäre es, in dem du zwei große Panels auf deine Form ziehst. Das eine mit Allign alLeft, das andere alClient, und darauf deine Elemente packst. Evtl. noch einen Splitter dazwischen

_________________
We are, we were and will not be.
Gabberman Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 55



BeitragVerfasst: So 18.09.05 14:12 
Ja das weiß ich schon, deshalb möchte ich es ja nur so in der art!!! Halt das man links von der Oberfläche die Navi-Leiste hat und rechts halt das zeug was angezeigt werden soll!!! Funktioniert das ni mit delphi!!!
Gabberman Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 55



BeitragVerfasst: So 18.09.05 14:14 
Wie funktioniert das mit den Panels??? Wenn ich da eins reinziehe und dann ausführe sehe ich gar nichts
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: So 18.09.05 14:18 
auf das panel kannst du noch deine buttons und zeug draufpacken, und dann je nach auswahl im "menü" (da bietet sich vielleicht ein treeview an) die einzelnen panels ein/ausblenden (mit panelX.visible)

vielleicht gibt es aber auch fertige komponenten ala eMule-einstellungen

_________________
es gibt leute, die sind genetisch nicht zum programmieren geschaffen.
in der regel haben diese leute die regel...
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: So 18.09.05 14:18 
Ich merke grade, dass der Vorschlag Mist ist...sorry. :autsch:

Es geht zwar, aber dann muss man viel mit visible etc. arbeiten oder alle Komponenten zur Laufzeit erstellen - ist nicht so trivial, wie ich zuerst dachte.

_________________
We are, we were and will not be.
Alstar
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 827



BeitragVerfasst: So 18.09.05 14:19 
Ich versteh' die Idee immernochnicht, sprich: Was willst du jetzt genau machen?? :gruebel:
Sry, bin [heute] n bisschen doof ...

Alstar
Gabberman Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 55



BeitragVerfasst: So 18.09.05 14:43 
Ok, hab das jetz ma mit den Panels angefangen. Soll aussehen wie in der exe-Datei!!!
Einloggen, um Attachments anzusehen!
Gabberman Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 55



BeitragVerfasst: So 18.09.05 14:44 
@ Gausi:
Hm, mist. Könntest du mir trotzdem erklären wie das funktioniert, oder hast du eine bessere Idee!!!

MfG

Gabberman
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: So 18.09.05 15:01 
ich denke er will sowas:
user defined image

_________________
es gibt leute, die sind genetisch nicht zum programmieren geschaffen.
in der regel haben diese leute die regel...
Gabberman Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 55



BeitragVerfasst: So 18.09.05 15:06 
JAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
GENAU :lol: :roll: :wink: :o :D :)
Gabberman Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 55



BeitragVerfasst: So 18.09.05 15:11 
Weiß nu jemand wie das geht?!?!?!?!?!?!
Alstar
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 827



BeitragVerfasst: So 18.09.05 15:23 
Jo. Ich z.B. *meld*

Aber meine Lösung ist nicht ganz so trivial: Du nimmst z.B. Eine Listbox mit Icons. Sobald was angeklickt wird (onClick) überprüfst du was angeklickt wurde. Je nach dem was, musst du nun dynamisch Frames anzeigen lassen, die du vorher erstellt hast

Alstar
Gabberman Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 55



BeitragVerfasst: So 18.09.05 15:27 
hm, ja aber was sind denn dynamische Frames???
Wie kann ich das denn machen???
Und wie kann ich überprüfen was er angeklickt hat!!!

MfG

Gabberman

Ps.: Die Idee is aber übel gut!!!
Danniolo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 693



BeitragVerfasst: So 18.09.05 15:31 
Also, das mit einer ListBox und Icons hört sich doch schon mal ganz gut an.
Aber man könnte doch für die "Frames" einfach ein "TNoteBook" nehmen (gehört zu den Standartkompos von jeder Delphi Version (Unter "Win 3.1")). Mit dieser zwar etwas verbuggten Komponente kann man ziemlich einfach so etwas wie Frames auf einer Website realisieren. :wink:


______________
Greezt Danniolo
Alstar
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 827



BeitragVerfasst: So 18.09.05 15:32 
Naja. Genauso wie ein Formular, kannst du in Delphi auf TFrames erzeugen und grafisch bearbeiten (Neu -> Frame). Dann musst du den entsprechenden Frame mit

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
Frame := TIrgendwasFrame.Create(Self);
Frame.Parent := Self; // oder so halt
Frame.Left := 223;
Frame.Top := 10;
Frame.Free;


mit den richtigen Positionen natürlich auf dem Formular anzeigen lassen (dynamisch erstellen).

Alstar
Gabberman Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 55



BeitragVerfasst: So 18.09.05 15:34 
In der Hilfe steht man sollte TPageControl verwenden!! Wo finde ich den TNotebook???