You should take a look at the DbiAddAlias function. It's documented in BDE32.HLP. It basically adds a new alias to the BDE configuration file (IDAPI.CFG for example).
This procedure creates an alias to an Oracle database:
procedure CreateNewOracleDBEAlias(aAliasName, aSID, aUserName: string)...
Since TList stores pointers you can always resort to so some dirty code and get pointers to your TDate
function GetTDateTimePointer(aDate: TDateTime): Pointer;
var
xPointer: ^TDateTime;
begin
New(xPointer);
xPointer^:= aDate;
Result:= xPointer;
end;
you should always be careful with...
Doing what Ulfeng proposes won't work. TListBox's Items property has this line in its Set method:
Items.Assign(Value);
so assigning SL to AListBox.Items only copies the string inside SL to the string holder of AList. The only way to do what you ask would be inheriting from TListBox and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.