diff --git a/components/tvplanit/source/vpinids.pas b/components/tvplanit/source/vpinids.pas index d21a9756f..c0e85109f 100644 --- a/components/tvplanit/source/vpinids.pas +++ b/components/tvplanit/source/vpinids.pas @@ -33,6 +33,7 @@ type procedure Split(const AString: String; AList: TStrings); function UniqueID(AValue: Integer): Boolean; + procedure Loaded; override; procedure ReadFromIni; procedure WriteToIni; @@ -332,6 +333,13 @@ begin // Nothing to do here... end; +procedure TVpIniDatastore.Loaded; +begin + inherited; + if not (csDesigning in ComponentState) then + Connected := AutoConnect; +end; + procedure TVpIniDatastore.LoadEvents; begin // Nothing to do here...