Add All Loaded Files to Current Project
CodeWright® - API Macro - Royalty Free -
Add All Loaded Files to Current Project.
This function adds an entry in the Current project for each file that is currently open.
This function is indispensable for managing projects.
With one or more files open, issue tlaProjFileAdd( ). Each of the files will be added to the Current project.
CodeWright has a popup menu for the Current project and a separate popup menu for the non-Current projects.
The top of the Current project popup menu has two entries. We recommend that you add a third entry for the function that complements the other two. This results in:
The top of the non-Current project popup menu has an entry to allow you to swap to another project by making it current. This unfortunately closese all open files before it swaps to the new project. We recommend that you add an entry that swaps to the new project and does not close the files before doing so. This gives you the option then of either closing or not closing the files each time you swap projects. This results in:
This function calls tlaError.
Current version verified under:
CodeWright for .NET Restriction
This function support CodeWright Projects that are not available in CodeWright for .NET.
There are three primary methods for installing this macro on your system. Method A uses the tlaMDE tool available for purchase from this website. Method B manipulates the macro repository directly. Method C uses the API Macro... tool provided in every copy of CodeWright (but not CodeWright for .NET).
Method A - tlaMDE - CodeWright or CodeWright for .NET
Method B - Copy to Repository - CodeWright or CodeWright for .NET
Method C - API Macro ... - CodeWright Only
tlaTools is a Dynamic Link Library that contains most of the API macros on this website in a single easy to install package. The tlaTools DLL can be purchased by selecting the Buy button on this page.
tlaProjAddOpenFiles is included as a function in tlaTools.
Copyright © 1993-2005 Thom Little Associates, Ltd. revised
One Central Square, Keene, NH 03431-3787 phone 603-357-7567