Autor Beitrag
orakel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 92

Win XP

BeitragVerfasst: Do 26.02.04 14:48 
Hallo,
wie kann ich nur bestimmte Ränder(z.B. nur oben) eines Panels umrahmen?

THX,
Andi

_________________
Nicht verzagen, orakel fragen!
patrick
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1481

WIN2k, WIN XP
D6 Personal, D2005 PE
BeitragVerfasst: Do 26.02.04 17:51 
mit nem panel geht das nicht ohne weiteres.

so eine funktion hat jedoch die kompo. TBevel.
dort gibt es eine eigenschaft mit dem namen shape dort kannst du alle 4 rahmen einzeln anzeigen.

_________________
Patrick
im zweifelsfall immer das richtige tun!!!
orakel Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 92

Win XP

BeitragVerfasst: Fr 27.02.04 14:45 
Aber ein TBevel hat die Eigenschaft Caption nicht!

_________________
Nicht verzagen, orakel fragen!
Philer
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 79

Win XP Home
D7 Enterprise
BeitragVerfasst: Fr 27.02.04 17:07 
Dann musst du halt ein Label hinzufügen

_________________
- Delphi n00b -
-Philer teh thriller-
orakel Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 92

Win XP

BeitragVerfasst: Di 02.03.04 14:08 
Nachteil von TBevel ist aber, dass es keine Ereignisse gibt. Ich kann kein onclick hinzufügen...
gibts nicht noch ne andere Lösung?

_________________
Nicht verzagen, orakel fragen!
CenBells
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1547

Win 7
Delphi XE5 Pro
BeitragVerfasst: Di 02.03.04 15:45 
hallo,

vielleicht ist die coole Toolbar für dich das richtige...

Gruß
Ken

_________________
Eine Klasse beschreibt die Struktur und das Verhalten einer Menge gleichartiger Objekte.
tmc2004
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 140

zuviele
D7,D8
BeitragVerfasst: Sa 06.03.04 01:18 
Du kannst Versuchen mit Canvas deine Rahmen zu zeichnen. Polyline oder so könnte die da nützlich sein.

gruß
tmc

_________________
it's not a bug it's a feature
rstaeker
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 94

WIN 2000
D6 Prof
BeitragVerfasst: Sa 06.03.04 14:55 
Hallo

wie wäre es, wenn Du den Rahmen des Panels auf <keinen> setzt und dann ein bevel in das Panel einfügst.
Align des Bevels auf "alClient"

Das sollte eigentlich funktionieren.



MfG Rene