The File that control a lot of the behaviors in TAS Professional is in every system that you will create the file name is TASPRO.INI. This file is a text file that is read when ever you run TASPRO7.EXE (IDE) TASRUNTIME.EXE We will try to explain this very important file and what all the settings are in case you may need to edit this file.
Programmers note: You can also use this file store and information about your application.
Note : Most the options in this file are controlled and edited with the TP7SETUP.EXE or the TP7RTSETUP.EXE If your not used to editing .INI type files we recommend you email product support before making changes to this file.
This Chapter will attempt to document all possible switches and setting for this file. Most of these setting are controlled by several parts of the Professional powered by CAS development system.
This sections is called setup this section of the INI files sets up where your application paths are the default company code you want to start the program with
Caption=your caption here This will change the caption of your runtime on the program bar.
DataDictPath=.\ This is the path to the projects data dictionary we recommend you use .\ here.
DefaultPath=.\ The default path of where all programs are these files have extensions of .run .src .rtm .dfm
DfltCompanyCode=B The default Company code to use.
DfltRunPrg=.\tas_menu This is normally your menu program.
MultiUser=1 0=Off 1=On
MainMenu=0 0=Off 1=On If this is the main menu.
FullSetup=1 0=Off 1=On This used internally by tp7setup.exe
DfltSkin=skins\macos.skn This is a new feature released by CAS with this in your .INI and the proper skins file name and path the user or programmer can change the entire look of there programs for more information search for skins.
|BtrieveDictionary=0||0=Off 1=On. In version 7.4 and above the programmer can choose the database dictionaries types to use the standard codebase type files or the optional Pervasive(btrieve) files as the data dictionaries. We recommend that you use Codebase files unless you find a need to limit the use codebase databases. If this line is left out of the taspro.ini file TASPRO will use the default codebase type files. All programs in TASPRO IDE and rutime have been adjusted to use this feature. Also to use this feature you will have to run the wtascnvtbtrv.rwn program to write your codebase dictionaries to btreive. This program will not make any changes to your codebase dictionaries files.|
|TPath=||Use to Define the Path in for the TPath() Function.|
This will allow you to control how the print preview will look to the user.
These are setting to make TASPRO7 more compatible with TP5WIN.EXE 16bit windows version most of these settings are setup in the TP7SETUP.EXE
Use Old Reports=1 0=Off 1 = On When Converting from tas5 programs to tas7 windows it was not possible to preserve the old text reports programs With this you can
|Esc Close=1||0=Off 1 = On New feature after 6.16R if this is set to 1 when the user click on the X at the top of the screen the program will act like the user pressed the ESC key. This is only for 5.1 programs program with the extention of .run Again this feature is exclusive of the CAS version of Tas Professional.|
Font Size Reg=15
Font Size Input=15
Font Size Text=9
Reduce Scrn Wdth=0
Underscore Menu Chr=1
Init Window Caption=
View Form Size=0
Remove Vert Box Chr=1
Form Bkg Color=12632256
Form Font Color=0
Disp Bkg Color=16777215
Disp Font Color=0
Entry Bkg Color=65535
Entry Font Color=0
Menu Main Bkg Color=16777215
Menu Main Text Color=0
Menu Selection Bkg Color=255
Menu Selection Text Color=0
Window Bkg Color=16777215
Window Text Color=0
Window Selection Bkg Color=255
Window Selection Text Color=0
Index Disp Bkg Color=12600000 //These next settings are a new feature in TAS7 powered by CAS
Index Disp Font Color=0 // that allows the colors to change if a filed is an index field.
Index Entry Bkg Color=10002256 // Used in Old 5.1 Screens if these are in your INI file then you can edit these settings
Index Entry Font Color=16777215 // from the Skins tab in the TP7SETUP.EXE.
These next 5 settings control how the old 5.1 programs screen will be drawn these setting are controled in the tp5setup.exe and TP7SETUP.EXE These were added to the system by CAS and are may only be available to TAS PRO powered by CAS.
Remove All Box Chr=0
Remove Box Corners=1
Convert Box Chr=1
Use Old Reports=1 //This will allow TAS runtime to use tas5 type reports.
The internally used names for deferent objects. Using the CL type names will allow the user to change there look in there program using windows themes.
These are settings for TAS Professional 5.0 Compatibility.
Printer Dollar Chr=$
Default Printer Num=1
Dflt Prtr CTL Name=GENERIC.CTL
Upper Left Corner=218
Upper Right Corner=183
Lower Left Corner=212
Lower Right Corner=188
MU Num Retries=2
MU Retry Delay=2
Extra Mem Area Size=60
Pro 6 Path= Out moded by the TPath in the Setup header.
These settings are controlled and set in the TASPRO7.EXE (IDE) in the Compile screen.
Run Code Size=600
Compiled Code Size=600
Constant Buff Size=600
Screen Buff Lines=1000
Number of Fields=1000
Number of Labels=1000
Include Warning Errors=1
Compile in Debug Mode=0
These settings are used to control both codebase and Btrieve settings they are setup in the TP7SETUP.EXE program
undocumented at this time
[Default New Form]
Default setting for the user.
MultiRT = 0 // if set to 1 this allows runtime to run Multi - runtimes from same folder
Msg Size Chg=0
CS Server Name=
CS User Name=
Setting for Email interface built into TASPRO7.EXE, TASRUNTIME.EXE
User EMail Address=
POP3 User Name=
SMTP User Name=
Settings to allow TASPRO to use MAPI to send email using programs like outlook and outlook express.
Last 9 Source files edited in system using TASPRO7.EXE (IDE)
[Source File History]
Setting for the Screen Painter
[Screen Editor Settings]
Run Code Size=3000
Compiled Code Size=3000
Constant Buff Size=3000
Screen Buff Lines=10000
Number of Fields=10000
Number of Labels=10000
Include Warning Errors=1
Compile in Debug Mode=1
Setting that Control the SRC editor in TASPRO7.EXE
[Source Editor Settings]