MACROMEDIA COLDFUSION STUDIO 5-USING COLDFUSION 5 STUDIO Use Manual page 251

Table of Contents

Advertisement

ActiveDocument Object
MessageBox(sMessage, VersionText, 0);
}
}
ReadOnly
Syntax
ReadOnly: WordBool (read-only)
Boolean. Returns
Description
Example
function Main(){
with (Application){
if (ActiveDocument.ReadOnly){
}
}
}
SelStart
Syntax
SelStart: integer
Description
Gets and sets the start of the current selection.
Example
function Main(){
with (Application){
with (ActiveDocument){
}
}
}
SelLength
Syntax
SelLength: integer
Description
Gets and sets the length of the current selection.
Example
function Main() {
var sMessage;
sMessage = "The length of the selected text of your document is ";
with (Application) {
sMessage = sMessage + ActiveDocument.SelLength;
MessageBox(sMessage, VersionText, 0);
}
}
if the active document is read-only.
True
MessageBox('Current document is Read-Only', 'Information', 0);
// Select entire document
SelStart = 0;
CursorDocEnd(true);
233

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION STUDIO 5-USING COLDFUSION 5 STUDIO and is the answer not in the manual?

This manual is also suitable for:

Coldfusion studio 5

Table of Contents