|
本帖最后由 bjabc 于 2018-12-6 07:12 编辑
-->DevExpress VCL_18.1.6_full_source_Demo_Help\ExpressBars\Sources\dxBarCustomCustomizationForm.pas 有误, Line 2177 & 2178 , 应是:
if ADeleteAction <> nil then
begin
ADeleteAction.Enabled := GetSelCount(AListBox) > 0;
for I := 0 to ASelectedObjects.Count - 1 do
begin
ADeleteAction.Enabled := ADeleteAction.Enabled and
//Line 2176 & 2177 有误, 应是:
((not Assigned(ADeletePermissiveProc) and IdxBarDesigner(BarManager).CanDeleteComponent(ASelectedObjects[I])) or
(Assigned(ADeletePermissiveProc) and ADeletePermissiveProc(ASelectedObjects[I])));
end;
end; |
|