Returns or sets the index of the first program to run, -1 for none.
Object.StartProgram [ = lStartProgram ]
The StartProgram property syntax has the following parts:
Name |
Type |
Description |
Object |
AApp |
AApp object |
lStartProgram |
Long |
An integer specifying the index of the first program to run. Uses -1 for none. |
The following statements use StartProgram property to print the name of the first program to run:
nStart = App.StartProgram
if nStart < 0
print "No start program has been selected."
else
prg = App.Programs(nStart)
print "The application will start with program. "; prg.Name
endif