Autor Beitrag
ggehrma
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 111

WinXP
D2005 Pers.
BeitragVerfasst: Do 01.09.05 11:46 
Hallo,

Ich möchte in meinem Programm dem Benutzer die Möglichkeit geben, dass er die Art der Linie, die gezeichnet wird verändern kann (also z.b. in Strich-Punkt). Habe dabei an eine Combobox gedacht, die ich mit den verschiedenen Linientypen als Items fülle. Aber wie kann ich in einer Combobox zeichnen? Oder gibt es da eine andere Möglichkeit das zu machen?

mfg, ggehrma.

_________________
"...To boldly go where no one has gone before."
Martin1966
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1068

Win 2000, Win XP
Delphi 7, Delphi 2005
BeitragVerfasst: Do 01.09.05 11:58 
Mit Hilfe des Events OnDrawItem kannst du in deiner Combobox selber zeichnen. Schau dir mal die Hife dazu an.

Hier im Forum findest du auch genug Informationen: Suche in: Delphi-Forum, Delphi-Library ONDRAWITEM.

Lg Martin