View Issue Details

IDProjectCategoryView StatusLast Update
0001537JEDI VCL00 JVCL Componentspublic2004-04-03 01:08
ReporterFlyingAvatarAssigned Touser72 
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0001537: JvGradientHeaderPanel - Ignores input events, not a container
DescriptionNo input events for this component are triggered (ie. MouseDown, KeyPress, etc). And it is named Panel, yet is its not a container.
TagsNo tags attached.



2004-03-29 11:19


Probably should have csAcceptsControls in ControlStyle...


2004-03-30 22:52


I've added csAcceptsControls to ControlStyle but don't know why it doesn't react to mouse and key events


2004-03-31 06:58

developer   ~0003541

The complete control is filled by FGradient & FLabel, thus these controls catch all the events and TJvGradientHeaderPanel gets none.

Something like this has to be done:

in the create:
  FLabel.OnClick := HandleClick;
  FGradient.OnClick := HandleClick;

procedure TJvGradientHeaderPanel.HandleClick(Sender: TObject);
  if Assigned(OnClick) then

Or maybe you should call the Do.. procedures, DoClick, DoDblClick etc.

But don't know if this is enough, some stuff may be handled in the WM_.. events which TJvGradientHeaderPanel will not get.


2004-03-31 08:30


Well, maybe it should be rewritten to draw directly on the panel instead but, on the other hand, then we could just as well remove it and do that to the recently added TJvNavPanelHeader instead...


2004-04-03 01:08


Fixed in CVS (will probably not work with CLX)

Issue History

Date Modified Username Field Change
2004-03-28 09:27 FlyingAvatar New Issue
2004-03-29 11:19 user72 Note Added: 0003497
2004-03-30 22:52 user72 Note Added: 0003530
2004-03-30 22:53 user72 Status new => assigned
2004-03-30 22:53 user72 Assigned To => user72
2004-03-31 06:58 remkobonte Note Added: 0003541
2004-03-31 08:30 user72 Note Added: 0003544
2004-04-03 01:08 user72 Status assigned => resolved
2004-04-03 01:08 user72 Resolution open => fixed
2004-04-03 01:08 user72 Note Added: 0003621