Autor Beitrag
-delphin-
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 200



BeitragVerfasst: So 19.06.05 11:23 
Hallo, ich will bei einem ButtonClick ein neues Formular öffnen. In diesem Formular soll sich eine Komponente befinden (z.b. ListBox oder Memo) in die ich normalen Text beispielsweise von einer Internetseite eingeben kann, also farbig, in verschiedenen Schriftarten und - größen und so weiter. Welche Komponente kann man mir da empfehlen?
Thx 4 help :D
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: So 19.06.05 13:23 
Am besten schaust du dir da mal TRichEdit an. ;)
-delphin- Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 200



BeitragVerfasst: So 19.06.05 13:34 
des is doch aber genau des gleiche wie ne listbox, da kann man auch nur in einer farbe und größe schreiben, die man bei font einstellt oder??
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: So 19.06.05 13:43 
DelphiN hat folgendes geschrieben:
des is doch aber genau des gleiche wie ne listbox, da kann man auch nur in einer farbe und größe schreiben, die man bei font einstellt oder??


nö. schau dir mal SelAttributes an.

Moderiert von user profile iconAXMD: Delphi-Tags korrigiert.
Moderiert von user profile iconraziel: User-Angabe im Quote-Tag geändert, damit die Delphi-Tags geparst werden können.

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)
Speed
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48

WIN XP
Delphi 2006 Prof.
BeitragVerfasst: So 19.06.05 15:21 
Wenns doch immer so einfach wär... :lol: :twisted:
JayEff
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2971

Windows Vista Ultimate
D7 Enterprise
BeitragVerfasst: So 19.06.05 16:09 
user profile iconSpeed hat folgendes geschrieben:
Wenns doch immer so einfach wär... :lol: :twisted:

was war den das für ein kommentar? :shock:
Nun - mit TRichEdit kannst du über SelAttributes die ganzen einstellungen vornehmen, wie das auch bei wordpad möglich ist - für einzelne textabschnitte.

_________________
>+++[>+++[>++++++++<-]<-]<++++[>++++[>>>+++++++<<<-]<-]<<++
[>++[>++[>>++++<<-]<-]<-]>>>>>++++++++++++++++++.+++++++.>++.-.<<.>>--.<+++++..<+.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: So 19.06.05 16:14 
auch zur konstruktionszeit ?
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: So 19.06.05 16:17 
user profile iconF34r0fTh3D4rk hat folgendes geschrieben:
auch zur konstruktionszeit ?

Bitte wie willst du's denn da machen? :eyes:
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: So 19.06.05 16:18 
ja eben, ich glaube darum gehts nämlich und das problem hatte ich auch schonmal :idea:
Stoffel1984
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 219

Win NT, Win 2000
D6 Prof
BeitragVerfasst: So 19.06.05 16:18 
Natürlich....

Ich glaube es gibt hierzu sogar ein Beispiel in den Delphi Ordnern.
-delphin- Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 200



BeitragVerfasst: So 19.06.05 17:03 
es geht darum, in einem neuen formular ein stück text zu öffnen, den man beliebig gestalten kann, ob fett, kursiv, schriftgröße, schritart, schriftfarbe und die eben beliebig oft ändern.. wie ne gewöhnliche html seite z.b.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: So 19.06.05 17:04 
ja richedit, aber ich weiß nur, wie das zur laufzeit geht, so hab ich keinen schimmer :wink:
JayEff
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2971

Windows Vista Ultimate
D7 Enterprise
BeitragVerfasst: So 19.06.05 17:37 
dann schreib die änderungen in die Form.Create oder Show oder Paint... create wird das beste sein. Das ist doch auch möglich? oder muss das sein, dass man in der IDE sehen kann, wie es später aussieht?

_________________
>+++[>+++[>++++++++<-]<-]<++++[>++++[>>>+++++++<<<-]<-]<<++
[>++[>++[>>++++<<-]<-]<-]>>>>>++++++++++++++++++.+++++++.>++.-.<<.>>--.<+++++..<+.
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: So 26.06.05 10:20 
Im Demo-Ordner einfach die RichEdit-Demo öffnen.
Ist das jetzt so kompliziert??

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)