Browse Source

* Implemented Loading, as per Graeme Geldenhuys request

git-svn-id: trunk@10094 -
michael 17 years ago
parent
commit
d87768dc0c
1 changed files with 6 additions and 0 deletions
  1. 6 0
      rtl/objpas/classes/compon.inc

+ 6 - 0
rtl/objpas/classes/compon.inc

@@ -233,6 +233,12 @@ begin
   Exclude(FComponentState,csLoading);
   Exclude(FComponentState,csLoading);
 end;
 end;
 
 
+Procedure TComponent.Loading;
+
+begin
+  Include(FComponentState,csLoading);
+end;
+
 
 
 Procedure TComponent.Notification(AComponent: TComponent;
 Procedure TComponent.Notification(AComponent: TComponent;
   Operation: TOperation);
   Operation: TOperation);