View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0006215 | JEDI VCL | 00 JVCL Components | public | 2013-10-14 23:24 | 2015-09-14 13:20 |
| Reporter | PostAp | Assigned To | AHUser | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.47 | ||||
| Target Version | Fixed in Version | 3.48 | |||
| Summary | 0006215: Unit JvLED: forgotten OnChange property | ||||
| Description | Unit JvLED has code: TJvCustomLED = class(TJvGraphicControl) private ... FOnChange: TNotifyEvent; ... procedure TJvCustomLED.SetStatus(Value: Boolean); begin FStatus := Value; if Status then Color := ColorOn else Color := ColorOff; if Assigned(FOnChange) then FOnChange(Self); end; but forgotten code: type TJvCustomLED = class(TJvGraphicControl) protected ... property OnChange: TNotifyEvent read FOnChange write FOnChange; // FIX and TJvLED = class(TJvCustomLED) published ... property OnChange; // FIX in my opinion procedure TJvCustomLED.SetStatus must be: procedure TJvCustomLED.SetStatus(Value: Boolean); begin if Value <> FStatus then begin FStatus := Value; if FStatus then Color := ColorOn else Color := ColorOff; if Assigned(FOnChange) then FOnChange(Self); end; end; | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-10-14 23:24 | PostAp | New Issue | |
| 2013-10-14 23:24 | PostAp | File Added: JvLED_FIX.pas | |
| 2013-12-01 11:21 | AHUser | Note Added: 0020702 | |
| 2013-12-01 11:21 | AHUser | Status | new => resolved |
| 2013-12-01 11:21 | AHUser | Fixed in Version | => Daily / SVN |
| 2013-12-01 11:21 | AHUser | Resolution | open => fixed |
| 2013-12-01 11:21 | AHUser | Assigned To | => AHUser |
| 2015-09-14 13:20 | obones | Fixed in Version | Daily / GIT => 3.48 |