SpectrumCtrl Functions

Add_File:
Used to add a file to the currently open Spectrum Item. A valid Spectrum Record Type and Filename are required.

Capture_File:
Used to begin the process of capturing files for the currently open Spectrum Item. A Spectrum Record type is required.

Close_Spectrum_Item:
Used to close the currently open Spectrum Item.

Create_Database:
Used to create a new Spectrum MS Access Database. A valid MS Access MDB filename is required.

Get_Filename_In_Current_Item:
Give a file number and get the filename. It must be a valid file record number of the currently open Spectrum Item.

Get_Recordtype_In_Current_Item:
Give a record number and get the record type. It must be a valid file record number of the currently open Spectrum Item.

Hide:
Used to hide the Spectrum Window.

Maximize:
Used to maximize the Spectrum Window.

Minimize:
Used to minimize the Spectrum Window.

Normal:
Used to unminimize/unmaximize the Spectrum Window.

Num_Files_In_Current_Item:
Returns the number of File records in the currently open Spectrum Item.

Open_Spectrum_Item:
Used to open a spectrum Item. An index of a Spectrum Item is required, if the index given does not exist, one will be created.

Print_File:
Used to print a file. A Spectrum Record Type and filename are required.

Print_ID_Card:
Used to print an ID card for the currently open Spectrum Item.

Show:
Used to show the Spectrum Window. It can be show modal or modeless. If modal then control will be returned to your program when the user chooses to exit the Spectrum Window.

Show_Print_Multiple_Files_Window:
Used to show a window that allows the user to select which files of the currently open Spectrum Item they wish to print.

Show_Send_Multiple_Files_Window:
Used to show a window that allows the user to select which files of the currently open Spectrum Item they wish to send.

Show_Spectrum_Item_Search_Window:
Used to show the Spectrum Item Search Window. The Index of the selected item will be returned.

Show_Spectrum_Record_Search_Window:
Used to show the Spectrum Record Search Window. The Filename and the Index of its owner will be returned.

Spectrum_Setfocus:
Used to give the Spectrum Window Focus.

Start_Spectrum:
Used to run spectrum in the background.

Stop_Spectrum:
Used to stop Spectrum currently running in the background.

View_File:
Used to print a file. Spectrum Record Type and Filename is required