I am trying to install TStatusBarPro into Delphi 2007 and am running into a few issues.
I added Contnrs to the uses clause in SBProReg to allow TComponentList
Added Designide.dcp to the required list
used the modified DELPHIAREA.INC from the Delphi 2005 post.
when i go to install i get the following error:
Incompatible types: 'IDesignerSelections' and 'TComponetList'
in the SBProReg at line 113
any help would be appreciated, thanks
procedure TStatusBarProEditor.PanelsEditor(Prop: TPropertyEditor);
begin
if Prop.GetName = 'Panels' then
Prop.Edit;
end;
procedure TStatusBarProEditor.Edit;
var
{$IFDEF COMPILER5_UP}
List: TDesignerSelectionList;
{$ELSE}
List: TComponentList;
{$ENDIF}
begin
{$IFDEF COMPILER5_UP}
List := TDesignerSelectionList.Create;
{$ELSE}
List := TComponentList.Create;
{$ENDIF}
try
List.Add(Component);
GetComponentProperties(List, [tkClass], Designer, PanelsEditor);
finally
List.Free;
end;
end;