Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003748 [JEDI VCL] 00 JVCL Components minor always 2006-06-06 12:14 2006-06-07 03:18
Reporter anudedeus View Status public  
Assigned To obones
Priority normal Resolution fixed  
Status resolved   Product Version 3.20
Summary 0003748: JvXPCheckbox doesn't answer to space bar pressing
Description Apparently the authors forgot that checkboxes should toggle its state (checked/unchecked) when it has the focus and the spacebar is pressed.

Fix:

TJvXPCustomCheckControl = class(...)
protected
{add the line:}
 procedure KeyDown(var Key: Word; Shift: TShiftState); override;
(...)
end;

implementation

{add the following}
procedure TJvXPCustomCheckControl.KeyDown(var Key: Word; Shift: TShiftState);
begin
  if Key = VK_SPACE then
    Checked := not Checked;
  inherited KeyDown(Key, Shift);
end;



Additional Information Recompile JvXPCtrlsD7R.dpk after changes. (Delphi7, check correct name for other versions)
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0009392)
anudedeus (reporter)
2006-06-06 12:17

Sorry, forgot to mention original filename:
\jvcl\run\JvXPCheckCtrls.pas
(0009401)
obones (administrator)
2006-06-07 03:18

Thanks, this is now in CVS

- Issue History
Date Modified Username Field Change
2006-06-06 12:14 anudedeus New Issue
2006-06-06 12:16 anudedeus Issue Monitored: anudedeus
2006-06-06 12:17 anudedeus Note Added: 0009392
2006-06-07 03:18 obones Status new => resolved
2006-06-07 03:18 obones Resolution open => fixed
2006-06-07 03:18 obones Assigned To => obones
2006-06-07 03:18 obones Note Added: 0009401


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker