View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001537 | JEDI VCL | 00 JVCL Components | public | 2004-03-28 09:27 | 2004-04-03 01:08 |
Reporter | FlyingAvatar | Assigned To | user72 | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0001537: JvGradientHeaderPanel - Ignores input events, not a container | ||||
Description | No input events for this component are triggered (ie. MouseDown, KeyPress, etc). And it is named Panel, yet is its not a container. | ||||
Tags | No tags attached. | ||||
|
Probably should have csAcceptsControls in ControlStyle... |
|
I've added csAcceptsControls to ControlStyle but don't know why it doesn't react to mouse and key events |
|
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); begin if Assigned(OnClick) then OnClick(Self); end; 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. |
|
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... |
|
Fixed in CVS (will probably not work with CLX) |
Date Modified | Username | Field | Change |
---|---|---|---|
2004-03-28 09:27 | FlyingAvatar | New Issue | |
2004-03-29 11:19 |
|
Note Added: 0003497 | |
2004-03-30 22:52 |
|
Note Added: 0003530 | |
2004-03-30 22:53 |
|
Status | new => assigned |
2004-03-30 22:53 |
|
Assigned To | => user72 |
2004-03-31 06:58 | remkobonte | Note Added: 0003541 | |
2004-03-31 08:30 |
|
Note Added: 0003544 | |
2004-04-03 01:08 |
|
Status | assigned => resolved |
2004-04-03 01:08 |
|
Resolution | open => fixed |
2004-04-03 01:08 |
|
Note Added: 0003621 |