Application object
249
Example
function Main(){
var sFolder1 = 'C:\\Program Files\\Bradbury\\TopStyle2';
var sFolder2 = 'C:\\InetPub\\wwwroot';
with (Application) {
SetFileTabFolder(1, sFolder1);
SetFileTabFolder(2, sFolder2);
}
}
SetProgress
Syntax
SetProgress(nProgress: Integer);
Description
Sets the position of the progress bar in the status area.
The values
1-100
are allowed:
Example
function Main() {
with (Application) {
SetProgress (15);
}
}
SetStatusText
Syntax
SetStatusText(sMessage: OleString);
Description
Sets the text that displays in the status area.
Example
function Main() {
with (Application) {
SetStatusText("Progress Indicator: ");
}
}
ShellToApp
Syntax
ShellToApp(const wsAppFileName: WideString): WordBool;
Description
Executes an external application. Returns
True
if application launched successfully.
You can include command lines in the filename parameter, so the following syntax is
valid:
Application.ShellToApp("notepad.exe " +
Application.ActiveDocument.Filename)
Содержание HOMESITE
Страница 11: ...Contents xi Table of CommandID values 310 Table of SettingID values 314 Glossary 323...
Страница 12: ...xii Contents...
Страница 20: ...xx About This Book...
Страница 28: ...8 Chapter 1 Setting Up the Product...
Страница 70: ...50 Chapter 4 Managing Files...
Страница 88: ...68 Chapter 5 Writing Code and Web Content...
Страница 116: ...96 Chapter 6 Editing Pages...
Страница 148: ...128 Chapter 7 Using Web Development Languages...
Страница 190: ...170 Chapter 11 Deploying Files...
Страница 210: ...190 Chapter 12 Testing and Maintaining Web Pages...
Страница 216: ...196 Chapter 13 Extending the Help System...
Страница 350: ...330 Glossary...
Страница 358: ...338 Index...