View Issue Details

IDProjectCategoryView StatusLast Update
0005593JEDI VCL00 JVCL Componentspublic2011-09-21 14:10
ReporterDunkel85Assigned Toobones 
Status resolvedResolutionfixed 
Product Version3.40 
Target VersionFixed in Version3.45 
Summary0005593: Changing caption of TMenuItem of JvPopupMenu while runtime = crash (only when style:=msXP)
DescriptionHi guys!

First of all, many many thanks for creating the Jedi Component Collection!
I really love it and use it every day.

The only bug I noticed so far is this:

When using the JvPopupMenu component with Style:=msXP, changing the caption of any TMenuItem of the JvPopupMenu while runtime creates the exception error
"exception class EInvalidOperation with message 'Canvas does not allow drawing'"

You can always reproduce this error: Just run this application and rightclick anywhere on the form, which opens the JvPopupMenu. I set a Timer which changes the caption every second. It doesn't matter what interval the timer has. When the JvPopupMenu is opened, it always crashes. Note that this happens only when Style is set to msXP.
It also gives me errors when running in compiled version, but it does not with this test-application. Don't know why. But it's really annoying in IDE mode.

I searched a workaround for hours, but couldn't find one.
Except not changing the caption of the TMenuItem, or changing style to msStandard.
Unfortunately this is not an option for me.

Thanks in advance :) Keep up the good work!

Peter aka Dunkel85 (
TagsNo tags attached.


2011-06-09 09:50 (7,837 bytes)


2011-06-09 09:58

administrator   ~0018706

What version of Delphi? What version of Windows? Aero used or not?


2011-06-09 10:12

reporter   ~0018709

Borland Delphi Enterprise 7.0 (Build 8.1)
@ Windows 7 x64 nonAero


2011-06-10 15:20

administrator   ~0018722

This is now fixed in SVN

Issue History

Date Modified Username Field Change
2011-06-09 09:50 Dunkel85 New Issue
2011-06-09 09:50 Dunkel85 File Added:
2011-06-09 09:58 obones Note Added: 0018706
2011-06-09 09:58 obones Status new => feedback
2011-06-09 10:12 Dunkel85 Note Added: 0018709
2011-06-10 15:12 obones Status feedback => confirmed
2011-06-10 15:20 obones Note Added: 0018722
2011-06-10 15:20 obones Status confirmed => resolved
2011-06-10 15:20 obones Fixed in Version => Daily / SVN
2011-06-10 15:20 obones Resolution open => fixed
2011-06-10 15:20 obones Assigned To => obones
2011-09-21 14:10 obones Fixed in Version Daily / SVN => 3.45