View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005138 | JEDI VCL | 00 JVCL Components | public | 2010-01-26 00:15 | 2010-03-08 16:16 |
Reporter | Pedrault | Assigned To | obones | ||
Priority | normal | Severity | trivial | Reproducibility | always |
Status | resolved | Resolution | won't fix | ||
Product Version | 3.39 | ||||
Target Version | Fixed in Version | ||||
Summary | 0005138: TJvgGroupBox: OnCollapsed and OnExpanded not executed | ||||
Description | It seems that the author has forgotten the OnCollpased/OnExpanded in the SetCollapsed method. Those event are used in Collapse but not in th Collapsed property setter. So the SetCollapsed method becomes: procedure TJvgGroupBox.SetCollapsed(Value: Boolean); begin if FCollapsed <> Value then begin if not (fgoCanCollapse in Options) and Value then Exit; FCollapsed := Value; if csLoading in ComponentState then Exit; Collapse_(Value); //Just add those 4 lines if FCollapsed and Assigned(FOnCollapsed) then FOnCollapsed(Self); if not FCollapsed and Assigned(FOnExpanded) then FOnExpanded(Self); end; end; | ||||
Tags | No tags attached. | ||||