View Issue Details

IDProjectCategoryView StatusLast Update
0001669JEDI VCL00 JVCL Componentspublic2004-04-22 03:38
ReporterbugfinderAssigned Touser72 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0001669: jvErrorIndicator overwrites exe icon every time
DescriptionEvery app Ive added the ErrorIndicator and the Validators component to, loses its icon, despite the .res file and anything else showing the correct icon. If you go to change the icon via short cut you can see the exe contains 2 icons, but they are obviously in the wrong order.
Additional InformationCreate a new app
Add 1 edit box
1 button
1 validators
1 errorindicator

put say a custom validator in the validators box, pointing to the edit box saying valid:=edit1.text>''; in the onvalidate procedure

in the onclick of the button, do
   self.JvErrorIndicator1.BeginUpdate;
   self.JvErrorIndicator1.ClearErrors;
   self.JvValidators1.validate;
   self.JvErrorIndicator1.endupdate;

compile and run

It will look fine, correct icon on all forms etc.

Now loko at your exe.. it has the wrong icon..

TagsNo tags attached.

Activities

user72

2004-04-19 22:58

  ~0003961

Get the latest version from CVS of JVCL. This was fixed quite some time ago. The error is caused by the name of the erro icon (ERRORINDICATOR) being alphabetically before the name of the app icon (MAINICON). Not really a JVCL bug, but the icon has been renamed so you should be OK if you update.

bugfinder

2004-04-22 00:56

reporter   ~0003991

I tried this, downloaded the CVS.
(Stupidly as I have a unix box I did it on there initially and it downloaded them all in unix format which delphi wasnt impressed with.. so I did again today)..

It still gives em the same icon.. so, Id say its not working.

bugfinder

2004-04-22 01:09

reporter   ~0003993

Sorry. I missed the res file - I had initially tried the whole CVS but it has some other issues such as I dont have TOpenControl... so, I had to pull out the relevant bits, and missed that.

:( sorry again

user72

2004-04-22 03:03

  ~0003998

So, can we assume it is working now?

bugfinder

2004-04-22 03:33

reporter   ~0003999

Yup. Sorry

user72

2004-04-22 03:38

  ~0004000

No worries, just wanted to be sure.

Issue History

Date Modified Username Field Change
2004-04-19 13:08 bugfinder New Issue
2004-04-19 22:58 user72 Note Added: 0003961
2004-04-20 00:46 user72 Status new => resolved
2004-04-20 00:46 user72 Resolution open => fixed
2004-04-20 00:46 user72 Assigned To => user72
2004-04-22 00:56 bugfinder Status resolved => feedback
2004-04-22 00:56 bugfinder Resolution fixed => reopened
2004-04-22 00:56 bugfinder Note Added: 0003991
2004-04-22 01:09 bugfinder Note Added: 0003993
2004-04-22 03:03 user72 Note Added: 0003998
2004-04-22 03:33 bugfinder Note Added: 0003999
2004-04-22 03:38 user72 Status feedback => resolved
2004-04-22 03:38 user72 Resolution reopened => fixed
2004-04-22 03:38 user72 Note Added: 0004000