Autor Beitrag
Felux
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 57

WinXP Home + Sp1
D6 Pers(eng), D2005 Prof(de), Webocton Scriptly, C# (VS 2005 Express), Eclipse
BeitragVerfasst: Sa 02.04.05 15:53 
Hi,
ich habe bereits hier im Forum und bei Google gesucht. Mein Problem ist es, dass ich versuche ein Stringgrid(Tabelle) zu erzeugen, das ich später ausdrucken will. Das Stringgrid soll also quasi als Druckvorlage fungieren.

So, jetzt hab ich das Problem, dass in einigen Zellen der dort hineingeschriebene String einfach länger als die Breite der Zelle ist. Ich hab bei den Suchfunktionen zwar ein zwei Beispiele gefunden, die das ungefähr so machen, wie ich das möchte, aber diese sind immer nur auf die erste Zeile ausgelegt und bringen mir eher Kopfschmerzen als der ersehnte Nutzen. Vorallem, weil ich nicht die Zeile verbinden will sondern nur einzelne Zellen(die direkt nebeneinander liegen).

Hat jemand eine Prozedure, womit man einfach nur die zu verbindenden Zellen angeben muss oder ist jemand so nett und erklärt mir mal, wie das Zeichnen von Zellen funktioniert ohne irgendwelche benachbarten Zeilen/Spalten zu beeinflussen :? ?

Oder vielleicht wie man eine Prozedure schreibt, die auf jede Zelle anwendbar ist, um sie mit der nächsten zu verbinden?


Danke schonmal im Voraus. :)
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Sa 02.04.05 22:06 
Hallo

das geht nicht einfach.
Du kannst dir das hier anschauen: www.delphipraxis.net....html&highlight= , aber das ist nur für die fixedrows und auch nur, wenn du keine fixedcols hast. Für die normalen Zellen ist das enorm schwieriger, wenn es richtig funktionieren soll.
Ich würde dir empfehlen, mal bei torry vorbeizuschauen.

Mfg frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
Felux Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 57

WinXP Home + Sp1
D6 Pers(eng), D2005 Prof(de), Webocton Scriptly, C# (VS 2005 Express), Eclipse
BeitragVerfasst: Sa 02.04.05 22:25 
Was ist Torry? Ich guck zwar relativ oft bei Problemen vorbei und benutze sehr oft die Suchfunktion, doch der Begriff ist mir neu.

Edit: Der Link scheint genau das zu sein was ich suche! Danke :D :D :D


Zuletzt bearbeitet von Felux am Sa 02.04.05 22:39, insgesamt 1-mal bearbeitet
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Sa 02.04.05 22:30 
www.torry.net hier findest du unmengen von komponenten.

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
Felux Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 57

WinXP Home + Sp1
D6 Pers(eng), D2005 Prof(de), Webocton Scriptly, C# (VS 2005 Express), Eclipse
BeitragVerfasst: Sa 02.04.05 23:51 
Danke für den Link, mal sehen ob ich was finde.

Leider war der andere Link wieder nichts:(
Felux Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 57

WinXP Home + Sp1
D6 Pers(eng), D2005 Prof(de), Webocton Scriptly, C# (VS 2005 Express), Eclipse
BeitragVerfasst: So 03.04.05 00:35 
Hi,
hab mal verschiedene Stringgrids heruntergeladen und getestet. Leider war nichts wirklich brauchbares dabei :( Hat den niemand so eine Prozedure um 2 Zellen miteinander zu verbinden?
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: So 03.04.05 00:54 
Hallo,

in der DP gibt es noch einen anderen Thread:
www.delphipraxis.net/post95511.html

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
Felux Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 57

WinXP Home + Sp1
D6 Pers(eng), D2005 Prof(de), Webocton Scriptly, C# (VS 2005 Express), Eclipse
BeitragVerfasst: So 03.04.05 01:00 
Hi,
über solche Tutorials bin ich auch gestolpert, und genau da weiß ich nicht, was ich an Handarbeit anlegen muss um es zu erreichen, dass er mir die Zellen vereinigt. :( Deswegen hab ich hier ja auch gepostet...