View Issue Details

IDProjectCategoryView StatusLast Update
0004315JEDI VCL00 JVCL Componentspublic2007-12-16 08:01
ReporterrokuAssigned ToAHUser 
Status resolvedResolutionfixed 
Product Version3.33 
Target VersionFixed in Version3.34 
Summary0004315: TJvCheckTreeView: Checkmark is not drawn correctly + FIX
DescriptionSee the attached demo program.

To reproduce the problem:
1. Start the demo program
2. Press space bar
3. A message dialog will apear, indicating that the node has been checked
4. Click away the message (OK)
5. The checkmark disappears
Additional InformationI fixed this bug by subclassing TJvCheckTreeView and overriding the KeyDown procedure:

procedure TMyCheckTreeView.KeyDown(var Key: Word; Shift: TShiftState);
  inherited KeyDown(Key, Shift);

  // VK_SPACE is always handled by the component, so reset the Key variable to 0
  if(Key = VK_SPACE) then
    Key := 0;

I think the fix (setting Key to 0) should be incorporated in JvCheckTreeview.pas.
TagsNo tags attached.


2007-12-13 03:55


TJvCheckTreeView (7,038 bytes)


2007-12-16 08:01

developer   ~0014059

Fixed in SVN

Issue History

Date Modified Username Field Change
2007-12-13 03:55 roku New Issue
2007-12-13 03:55 roku File Added: TJvCheckTreeView
2007-12-16 08:01 AHUser Status new => resolved
2007-12-16 08:01 AHUser Fixed in Version => Daily / SVN
2007-12-16 08:01 AHUser Resolution open => fixed
2007-12-16 08:01 AHUser Assigned To => AHUser
2007-12-16 08:01 AHUser Note Added: 0014059