View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002816||JEDI VCL||00 JVCL Components||public||2005-03-29 07:06||2005-05-18 07:03|
|Product Version||3.00 BETA 2|
|Target Version||Fixed in Version||3.10|
|Summary||0002816: JvFormStorage for JvColorButton fails on reload when storing Button.Color property.|
|Description||If a custom color is specified in the JvColorButton and the form has a JvFormStorage component on there to store the Color Property of the button to the registry, when the form is reloaded and that property is read you get:|
Project [your project] raised exception class EJclRegistryError with message
'"Software\[your project]\Forms\[dialogname]\properties\JvColorButton1_Color" is of wrong kind or size'.
When you use a custom color, it stores the property as a REG_DWORD, but if you use a normal clXXX color, it stores it as a REG_SZ. I think the code is always looking for REG_SZ and complains if it doesn't see this. However, the color -IS- correctly restored from the REG_DWORD so maybe the exception is something that should be ignored??
|Tags||No tags attached.|
Note: This is with the production 3.00 release. Mantis does not allow picking this as a valid verion.
I think this is only a DesignTime Error. You can ignore it.
The Registry-Engine realy first look for a string value if an integer value is read. If this fails, the try is started to read the integer value as integer.
I think this exception should be invisible at normal runtime.
Please give me a feedback, if i'm right.
||No answers in a timely manner, this is considered to be solved.|
|2005-03-29 07:06||JohnFriel||New Issue|
|2005-03-29 07:07||JohnFriel||Note Added: 0006771|
|2005-03-29 11:16||jfudickar||Note Added: 0006772|
|2005-03-29 11:16||jfudickar||Status||new => feedback|
|2005-05-18 07:03||obones||Status||feedback => resolved|
|2005-05-18 07:03||obones||Resolution||open => fixed|
|2005-05-18 07:03||obones||Assigned To||=> obones|
|2005-05-18 07:03||obones||Note Added: 0007210|