idecfg.ini file

Top  Previous  Next

This file, in the GAMS system directory, can be used to extend the menu in the Main Window.

 

If file exists, it is expected in the same directory as the file gams.exe file used by GAMSIDE (not necessarily next to the file gamside.exe)

 

The IDE only checks if the file exists on startup

 

idecfg.ini currently has the following optional entries:

 

   [logo]

   file=myimage.bmp

 

     Used to display an image in the Process Window. The 'image' field contains the name of a .bmp file in the GAMS system directory. The reserved size for the image is 24x144 pixels.

 

   [menu]

   text=MyMenu

   file=myfile.html

 

     Used to display a .html file using the build-in html viewer. The 'text' field contains the text for the menu item. The 'file' field contains the name of the .html file in the GAMS system directory.

 

   [library1]

   text=GAMS model library

   file=gamslib_ml\gamslib.glb

 

     Used to add model library selection(s) to the Main Window. The 'text field contains the text for the sub-menu. The 'file' field contains the index file for the model library. A relative path is assumed to be located in the GAMS system directory. Up to 10 libraries can be specified as [library1] .. [library10]

 

Example content for idecfg.ini:

 

[logo]

file=myimage.bmp

 

[menu]

text=MyMenu

file=myfile.html

 

[library1]

text=GAMS model library

file=gamslib_ml\gamslib.glb

 

[library2]

text=GAMS Test Library

file=testlib_ml\testlib.glb