- This topic has 0 replies, 1 voice, and was last updated 5 years, 1 month ago by .
Viewing 0 reply threads
Viewing 0 reply threads
- You must be logged in to reply to this topic.
hi,kim
The configuration framework supports reading and writing ObjectList.
eg:
TRemoteDBConnObject = class(TDBConnObject)
private
[kbmMW_Config(‘DBPort’,mwcdReadWrite)]
FDBPort: string;
[kbmMW_Config(‘DBServer’,mwcdReadWrite)]
FDBServer: string;
public
property DBServer:string read FDBServer write FDBServer;
property DBPort:string read FDBPort write FDBPort;
end;
TConfigObject = class(TkbmMWConfigurableObject)
private
[kbmMW_Config(‘DBConnList’,mwcdReadWrite)]
FDBConnList: TObjectList;
[kbmMW_Config(‘DBConnCount’,mwcdReadWrite)]
FDBConnCount: Integer;
public
constructor Create;
destructor Destroy; override;
property DBConnList: TObjectList read FDBConnList write FDBConnList;
property DBConnCount:Integer read FDBConnCount write FDBConnCount;
end;
best regards
Tom YU.