View Issue Details

IDProjectCategoryView StatusLast Update
0002866JEDI VCL00 JVCL Componentspublic2005-04-14 17:33
ReporterTerminalMotionAssigned Tooutchy 
Status resolvedResolutionfixed 
Product Version3.00 
Target VersionFixed in Version3.10 
Summary0002866: TJVCombobox Readonly allows backspacing
DescriptionWhen setting the readonly property, the control still allows backspacing. I've resolved it by adding "key = char(0)" to the Keypress event. Would be great if it was included.
TagsNo tags attached.



2005-04-14 17:06

administrator   ~0007007

Tested with D7 under Win 2000.
Seems to be a bug of VCL (of Borland), the procedure TCustomComboBox.KeyPress(var Key: Char) located in StdCtrls.pas doesn't check the ReadOnly flag of the edit and process the backspace key.
Your solution solves the problem. I will use and commit changes in the CVS repository.
Thanks for reporting the bug.


2005-04-14 17:33

administrator   ~0007008

Fixed in the CVS, available for anonymous logins in some hours.

Issue History

Date Modified Username Field Change
2005-04-13 01:09 TerminalMotion New Issue
2005-04-14 17:06 outchy Note Added: 0007007
2005-04-14 17:06 outchy Status new => confirmed
2005-04-14 17:10 outchy Status confirmed => assigned
2005-04-14 17:10 outchy Assigned To => outchy
2005-04-14 17:33 outchy Status assigned => resolved
2005-04-14 17:33 outchy Resolution open => fixed
2005-04-14 17:33 outchy Note Added: 0007008