IDE: enabled multi form properties by default

git-svn-id: trunk@15334 -
This commit is contained in:
mattias 2008-06-06 06:14:04 +00:00
parent 7ef47a5ad7
commit 97ceeb98a6
4 changed files with 6 additions and 9 deletions

View File

@ -875,9 +875,6 @@ begin
// The other components are done at the end via GlobalFixupReferences.
// So, there is nothing left to do here.
Result := nil;
{$IFDEF EnableMultiFormProperties}
//DebugLn('TJITComponentList.OnFindGlobalComponent Root=',dbgsName(CurReadJITComponent), ' Name=', AName, ' Result=', dbgsName(Result));
{$ENDIF}
//DebugLn(dbgsName(CurReadJITComponent), ' FIND global component ', AName, ' ', dbgsName(Result));
end;

View File

@ -21,7 +21,7 @@
{ $DEFINE IDE_VERBOSE}
// !!! if you change this flag, you have to make cleanide !!!
// !!! if you change any of these flags, you have to make cleanide !!!
{ $DEFINE IDE_MEM_CHECK}
{ $DEFINE IDE_DEBUG}
@ -34,7 +34,7 @@
{$DEFINE DisableFakeMethods}
{$ENDIF}
{$IFDEF EnableMultiFormProperties}
{$IFNDEF DisableMultiFormProperties}
{$DEFINE VerboseIDEMultiForm}
{$ENDIF}

View File

@ -5773,7 +5773,7 @@ begin
ReferenceInstanceNames.Clear;
GetFixupInstanceNames(CurRoot,RefRootName,ReferenceInstanceNames);
{$IFDEF EnableMultiFormProperties}
{$IFNDEF DisableMultiFormProperties}
DebugLn(['TMainIDE.DoFixupComponentReferences BEFORE loading ',i,' ',dbgsName(CurRoot),' RefRoot=',RefRootName,' Refs="',Trim(ReferenceInstanceNames.Text),'"']);
// load the referenced component

View File

@ -4033,7 +4033,7 @@ var
begin
Result:=nil;
if not (CurRoot is TComponent) then exit;
{$IFNDEF EnableMultiFormProperties}
{$IFDEF DisableMultiFormProperties}
exit;
{$ENDIF}
FMainOwner:=nil;
@ -4081,7 +4081,7 @@ var
begin
if not (CurRoot is TComponent) then exit;
CheckComponent(TComponent(CurRoot));
{$IFNDEF EnableMultiFormProperties}
{$IFDEF DisableMultiFormProperties}
exit;
{$ENDIF}
UnitList:=GetUsableComponentUnits(CurRoot);
@ -4159,7 +4159,7 @@ begin
if (RootName='') or (SysUtils.CompareText(RootName,TComponent(CurRoot).Name)=0)
then
CheckComponent(TComponent(CurRoot).Name,SubPath,TComponent(CurRoot));
{$IFNDEF EnableMultiFormProperties}
{$IFDEF DisableMultiFormProperties}
exit;
{$ENDIF}
if p<1 then exit;