Beruflich Dokumente
Kultur Dokumente
TransCAD 7 Help
Home / Welcome to GISDK Help
Your code for adding the new menu will be kept in LESSSON4.RSC in the GISDK\SAMPLES folder. An additional file,
LESSSON4.LST, contains a list of the source code files to be compiled. It includes a reference to the LESSSON3.RSC file,
which we will use unchanged, and also a reference to your new code, LESSSON4.RSC, which is shown below:
// This macro adds the "Lesson" menu before the "window" menu
// First, make sure the "Lesson" menu is not already there.
// This error handler prevents an error message if the menu isn't there.
on NotFound goto next
mk:@MSITStore:C:\Program%20Files%20(x86)\TransCAD%207.0\transcaddk.chm::/dk... 05-05-2017
Lesson 4: Calling the Toolbox from the Menus Página 2 de 2
GISDK\SAMPLES folder.
2. From TransCAD, click in the GISDK Toolbox to display the Compile File dialog box.
3. Choose the file named LESSON4.LST in the GISDK\SAMPLES folder, and click Open. GISDK compiles both the files listed
into a single compiled program.
5. Click in the GISDK Toolbox to display the Test an Add-In dialog box.
7. Click OK. The Lesson menu is added to the menu bar, and it has one command, Get Best Route.
8. Choose Lesson-Get Best Route. The add-in displays the toolbox created in Lesson 2.
Now you can use the toolbox as before. Your add-in is complete!
mk:@MSITStore:C:\Program%20Files%20(x86)\TransCAD%207.0\transcaddk.chm::/dk... 05-05-2017