View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002871 | JEDI VCL | 00 JVCL Components | public | 2005-04-13 12:17 | 2005-04-23 01:19 |
Reporter | anonymous | Assigned To | AHUser | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.00 | ||||
Target Version | Fixed in Version | 3.10 | |||
Summary | 0002871: TJvCustomGraphicButton.Click calls inherited in the wrong order | ||||
Description | TJvCustomGraphicButton.Click currently calls "inherited Click" at the top of the procedure. I think it should be at the bottom. Rationale: This procedure mainly changes the state of the button's Down flag, while the inherited procedure mainly calls any registered OnClick handlers. It's more usual to expect that an OnXX event is called *after* the class has provided default behavior than vice versa. In this particular case, it's natural to implement an OnClick handler that sets the Down property itself according to app-specific logic; you can't do that, though, because TJvCustomGraphicButton.Click will then reverse the state of the down property afterwards. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2005-04-13 12:17 | anonymous | New Issue | |
2005-04-13 12:21 | teejaydub | Note Added: 0007000 | |
2005-04-23 01:19 | AHUser | Status | new => resolved |
2005-04-23 01:19 | AHUser | Resolution | open => fixed |
2005-04-23 01:19 | AHUser | Assigned To | => AHUser |
2005-04-23 01:19 | AHUser | Note Added: 0007052 |