View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002497 | JEDI VCL | 00 JVCL Components | public | 2005-01-12 01:59 | 2005-02-04 02:16 |
| Reporter | ADIDAS | Assigned To | obones | ||
| Priority | normal | Severity | feature | Reproducibility | always |
| Status | resolved | Resolution | won't fix | ||
| Product Version | 3.00 BETA 2 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0002497: TJvgCheckListBox.MouseDown | ||||
| Description | procedure TJvgCheckListBox.MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); var APoint: TPoint; Index: Integer; begin inherited MouseDown(Button, Shift, X, Y); if Button = mbLeft then begin APoint.X := X; APoint.Y := Y; Index := ItemAtPos(APoint, True); //!!!!!!!!!!!!! If not Index > Items.Count-1 then begin case TCheckBoxState(Items.Objects[Index]) of cbUnchecked: Items.Objects[Index] := Pointer(cbChecked); cbChecked: Items.Objects[Index] := Pointer(cbUnchecked); cbGrayed: ; end; Invalidate; end; end; end; | ||||
| Additional Information | The application crashes, when clicked at position below last item corrections // If not Index > Items.Count-1 then | ||||
| Tags | No tags attached. | ||||