🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.opentoolsapi
3 messages
3 total messages Started by Chetverikov Dmitriy Tue, 22 Apr 2008 15:06
How can I add unit to uses list?
#160
Author: Chetverikov Dmitriy
Date: Tue, 22 Apr 2008 15:06
3 lines
964 bytes
Hello,
I need add unit to uses list. How can I do it  with ToolsAPI?
Thanks. 
Re: How can I add unit to uses list?
#161
Author: Gerrit Beuze
Date: Tue, 22 Apr 2008 16:46
11 lines
1353 bytes
> I need add unit to uses list. How can I do it  with ToolsAPI?

Use IOTAEditReader to get the edit buffer source code,
Parse the source - or at least locate the uses clauses.
Use IOTAEditWriter to write modified source to edit buffer.

Gerrit Beuze
ModelMaker Tools

Boost your productivity in the Delphi IDE with ModelMaker Code Explorer:
http://www.modelmakertools.com/code-explorer/index.html 
Re: How can I add unit to uses list?
#162
Author: Chetverikov Dmitriy
Date: Wed, 23 Apr 2008 06:19
1 lines
1006 bytes
Thanks. 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads