mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 05:20:31 +02:00
Fix to compreg.pp
Shane git-svn-id: trunk@80 -
This commit is contained in:
parent
d5b810aeae
commit
94237dcca2
@ -199,7 +199,6 @@ var NewPage:TRegisteredComponentPage;
|
||||
a:integer;
|
||||
NewComp:TRegisteredComponent;
|
||||
begin
|
||||
Writeln('REGISTERING COMPONENT');
|
||||
|
||||
NewPage:=FindPageByName(Page);
|
||||
if NewPage=nil then begin
|
||||
@ -230,7 +229,7 @@ var a:integer;
|
||||
begin
|
||||
Name:=uppercase(Name);
|
||||
for a:=0 to FPages.Count-1 do begin
|
||||
if uppercase(Pages.Name)=Name then begin
|
||||
if uppercase(Pages[a].Name)=Name then begin
|
||||
Result:=Pages[a];
|
||||
exit;
|
||||
end;
|
||||
|
@ -251,6 +251,9 @@ begin
|
||||
,TBevel,TRadioGroup]);
|
||||
RegisterComponents('Additional','ComCtrls',[TStatusBar,TListView,TProgressBar
|
||||
,TToolBar,TToolButton,TTrackBar]);
|
||||
|
||||
RegisterComponents('Samples','Spin',[TSpinEdit]);
|
||||
|
||||
RegisterComponentsProc:=nil;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user