Autor Beitrag
Coder
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: So 29.01.06 02:01 
Hi
Ich will es dem User ermöglichen Komponenten auszuwählen.
Dabei will ich so kleine schwarze Quadrate an die Ecken der Komponente zeichnen.
Dachte das mach ich am besten mit Canvas.
Aber meine PaintBox wird immer vom JvRichEdit verdeckt.
SendToBack und BringToFront bringen nichts und
wenn ich das RichEdit als Parent benutze, werden alle Buchstaben zu Strichen.
Wie könnte ich die schwarzen Quadrate noch zeichnen?
digi_c
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1905

W98, XP
D7 PE, Lazarus, WinAVR
BeitragVerfasst: So 29.01.06 09:47 
Benutzt du den Canvas des Richedits oder der Form?

Also etwas ganz anderes würde mir auch nicht einfallen :-/
Coder Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: So 29.01.06 13:08 
Wenn ich auf die Form zeichne wird es von den Komponenten verdeckt und
ein JvRichEdit hat kein Canvas.
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 29.01.06 14:07 
Hallo,

die Schweitzer haben das in dem Tipp beschrieben:
...Komponenten während der Laufzeit in Größe ändern, Verschieben?
es werden dabei auch die "Anfasser" dargestellt.

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

W98, XP
D7 PE, Lazarus, WinAVR
BeitragVerfasst: So 29.01.06 15:27 
Ah mit Panels interessant interesannt. Mich verblüfft es immerwieder das es für sowas von der Win API keine Funktion gibt. Wie soll man den einheitliches Look&Feel realisieren wenn man sogar die Gummibandlinie selber malen muss? Tzz... In meinem OS wird alles besser :lol:
Coder Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: Do 02.02.06 23:53 
Danke Danke das hat mir echt weitergeholfen! :D
Ich setze das ganze nun für Multiselect um.

Danke!
MfG Cooro :wave: