View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003621 | JEDI VCL | 00 JVCL Components | public | 2006-04-04 04:44 | 2006-04-14 06:52 |
Reporter | syk0 | Assigned To | obones | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Target Version | Fixed in Version | 3.30 | |||
Summary | 0003621: TJvFilenameEdit - ASCII Characters | ||||
Description | TJvFilenameEdit does not accept some ASCII characters from filenames. i.e. "C:\Program Files\My App\My App®.exe" would return "C:\Program Files\My App\My Appr.exe" in the edit field. "®" returns "r" "©" returns "c" Therefore the resulting file name is incorrect. | ||||
Tags | No tags attached. | ||||
|
Please provide a sample application with such a filename, I'm very curious how you can even generate it. |
2006-04-05 14:50
|
JvFilenameEdit.rar (510,978 bytes) |
|
A sample application has been uploaded. >"I'm very curious how you can even generate it."< Just simply select a file rename it, use the ASCII code "ALT + 0174" to get ® or "ALT + 0169" to get © These are characters wich can not be used in file names: "\ / : * ? < > |" The problem is odd because JvEditbox will keep the ASCII characters. |
|
This happens because the control sets its property OEMConvert to True. Work-around is to set it to false, but because the property is protected you have to cast it: type TJvFilenameEditAccess = class(TJvFilenameEdit); [..] begin TJvFilenameEditAccess(JvFilenameEdit1).OEMConvert := False; end; |
|
OEMConvert is now published, that will do to me. |
Date Modified | Username | Field | Change |
---|---|---|---|
2006-04-04 04:44 | syk0 | New Issue | |
2006-04-05 01:31 | obones | Note Added: 0008949 | |
2006-04-05 01:31 | obones | Status | new => feedback |
2006-04-05 14:50 | syk0 | File Added: JvFilenameEdit.rar | |
2006-04-05 14:56 | syk0 | Note Added: 0009005 | |
2006-04-05 16:38 | remkobonte | Note Added: 0009006 | |
2006-04-14 06:52 | obones | Status | feedback => resolved |
2006-04-14 06:52 | obones | Resolution | open => fixed |
2006-04-14 06:52 | obones | Assigned To | => obones |
2006-04-14 06:52 | obones | Note Added: 0009113 |