🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.opentoolsapi
Article #152

Re: Manipulate Library and Browsing Path

#152
From: Sasan Adami
Date: Tue, 18 Mar 2008 15:25
22 lines
1721 bytes
Aleksander Oven wrote:
> It seems IOTAEnvironmentOptions and IOTAProjectOptions may be that way,
> as hinted in this QC entry:
> http://qc.codegear.com/wc/qcmain.aspx?d=24177

Here's an example. The procedure below updates the BDS library path. 
ANewPath is a string and should contain the directories for the new 
library path separated by semicolons.

Sasan.

-----

procedure UpdateIDELibraryPath(ANewPath: string);
var
   EnvOptions: IOTAEnvironmentOptions;
begin
   EnvOptions := (BorlandIDEServices as IOTAServices).GetEnvironmentOptions;
   if Assigned(EnvOptions) then
     EnvOptions.Values['LibraryPath'] := ANewPath;
end;
Technical Details
Message-ID: <47dfde97$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <47d9ba55$1@newsgroups.borland.com> <47d9c867@newsgroups.borland.com> <47d9d6eb$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c3df,6a838016c843289
X-Google-Attributes: gid10c3df,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 18 Mar 2008 16:25:41 +0100
From: Sasan Adami <s.adami@*no-spam*gmx.net>
User-Agent: Thunderbird 1.5.0.14 (Windows/20071210)
MIME-Version: 1.0
Newsgroups: borland.public.delphi.opentoolsapi
Subject: Re: Manipulate Library and Browsing Path
References: <47d9ba55$1@newsgroups.borland.com> <47d9c867@newsgroups.borland.com> <47d9d6eb$1@newsgroups.borland.com>
In-Reply-To: <47d9d6eb$1@newsgroups.borland.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 213.84.36.192
Message-ID: <47dfde97$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1205853847 213.84.36.192 (18 Mar 2008 08:24:07 -0700)
Lines: 22
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail