Autor Beitrag
Stefan-W
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 475

Win 7 SP1
D2005 PE
BeitragVerfasst: So 03.04.05 18:17 
Hi Leuts

wie kann ich das Markieren in einer ListBox verhindern...

hab nun schon die Markierung in Weiß aber den Ramen außen rum bekomme ich nicht weck...

bin für jede Hilfe dankbar

Tschau
Einloggen, um Attachments anzusehen!
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: So 03.04.05 18:29 
beim Selberzeichnen den fokusrahmen mit drawfocusrect nochmal drüberzeichnen und weg ist er.

edit: in dem code von heut früh:
nach der beschriftung:
ausblenden Delphi-Quelltext
1:
if odSelected in state then DrawFocusRect(canvas.handle,rect);					


mfg Frank

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

Win 7 SP1
D2005 PE
BeitragVerfasst: So 03.04.05 18:38 
Danke! passt genau!
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: So 03.04.05 19:00 
achso: wenn du gar keine Selektierung mehr, sondern nur die Grafiken anzeigst, wäre villeicht auch eine paintbox in einer scrollbox die bessere Wahl, oder für was brauchst du jetzt eigentlich die listbox?

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

Win 7 SP1
D2005 PE
BeitragVerfasst: So 03.04.05 19:24 
ich brauch die Listbox zum anzeigen einer ICL - Datei

Hab allerdings jezt das mehrspaltig hinbekommen so das das verstecken der Markierung nicht mehr nötig ist
(vorher waren 3 Icons (die auf einer Zeile) in einer Zeile und somit alle 3 Markiert...)