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
0002816 [JEDI VCL] 00 JVCL Components major always 2005-03-29 07:06 2005-05-18 07:03
Reporter JohnFriel View Status public  
Assigned To obones
Priority normal Resolution fixed  
Status resolved   Product Version 3.00 BETA 2
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??
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
JohnFriel (reporter)
2005-03-29 07:07

Note: This is with the production 3.00 release. Mantis does not allow picking this as a valid verion.

jfudickar (developer)
2005-03-29 11:16

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.

obones (administrator)
2005-05-18 07:03

No answers in a timely manner, this is considered to be solved.

- Issue History
Date Modified Username Field Change
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

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