View Issue Details

IDProjectCategoryView StatusLast Update
0002169JEDI VCL00 JVCL Componentspublic2004-10-14 13:27
ReporterwestphalAssigned Touser72 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version3.00 RC 1 
Summary0002169: TJvLabel HotTrack failed to go back in normal font
DescriptionIf i open a new form in the onClick Event, the Mouseleave event is never sent, and the label stay in it's HotTrack state.
TagsNo tags attached.

Activities

user72

2004-09-25 00:47

  ~0005255

I can't reproduce it but it might have to do with the dialog. Try this as a workaround:

procedure TForm1.JvLabel1Click(Sender: TObject);
begin
  JvLabel1.Perform(CM_MOUSELEAVE, 0, 0);
  Form2.ShowModal; // show your form
end;

westphal

2004-09-29 10:47

reporter   ~0005274

Hello,

Thank's, the ".Perform(CM_MOUSELEAVE, 0, 0);" trick works...

I did a very simple project to reproduce it and the bug come with the form.show; and not with the form.showmodal; strange...

procedure TForm1.JvLabel1Click(Sender: TObject);
begin
  JvLabel1.Perform(CM_MOUSELEAVE, 0, 0);
  Form2.Show; // show your form
end;

user72

2004-10-04 23:42

  ~0005299

It has to do with the fact the CM_MOUSEENTER and CM_MOUSELEAVE is not guaranteed to be sent, so sometimes they are mismatched.

Can we close this now?

westphal

2004-10-13 12:57

reporter   ~0005376

Thank you again, I think we can close it (and may be add your comment in the openhelp)

user72

2004-10-14 13:27

  ~0005390

Will try to remember adding it to help somewhere

Issue History

Date Modified Username Field Change
2004-09-24 08:35 westphal New Issue
2004-09-25 00:47 user72 Note Added: 0005255
2004-09-25 00:48 user72 Status new => feedback
2004-09-29 10:47 westphal Note Added: 0005274
2004-10-04 23:42 user72 Note Added: 0005299
2004-10-13 12:57 westphal Note Added: 0005376
2004-10-14 13:27 user72 Status feedback => resolved
2004-10-14 13:27 user72 Resolution open => fixed
2004-10-14 13:27 user72 Assigned To => user72
2004-10-14 13:27 user72 Note Added: 0005390