View Issue Details

IDProjectCategoryView StatusLast Update
0002716JEDI VCL00 JVCL Componentspublic2005-04-12 05:40
Reporterboerema1Assigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.00 BETA 2 
Target VersionFixed in Version3.10 
Summary0002716: JvHTListBox: all items get painted with selected color after selecting an item with the mouse
DescriptionIn JvHTListBox after selecting an item with the mouse all items get painted with FColorHighlight as background color when you move the mouse over these items.

To fix this I suggest the followng fix in procedure TJvCustomHTListBox.MouseMove(Shift: TShiftState; X, Y: Integer);

...

  if Self.Selected[I] then
  begin
    State := [odSelected];
    Canvas.Font.Color := FColorHighlightText;
    Canvas.Brush.Color := FColorHighlight; // Added
  end
  else
  begin // Added
    Canvas.Font.Color := Font.Color;
    Canvas.Brush.Color := Color; // Added
  end; // Added
TagsNo tags attached.

Relationships

duplicate of 0002821 resolvedobones TJvHTListBox MouseMove leaves wrong color 

Activities

obones

2005-04-12 05:40

administrator   ~0006942

Thanks, this is now in CVS.

Issue History

Date Modified Username Field Change
2005-03-05 16:42 boerema1 New Issue
2005-04-12 05:40 obones Status new => resolved
2005-04-12 05:40 obones Resolution open => fixed
2005-04-12 05:40 obones Assigned To => obones
2005-04-12 05:40 obones Note Added: 0006942
2005-04-12 06:20 obones Relationship added duplicate of 0002821