204
Left
Syntax
Left: integer
Left (x-coordinate) of main window.
Description
Example
function Main() {
Var sMessage;
with (Application){
sMessage = "Top-left corner of your Window has the following
sMessage = sMessage + "Top: " + Top + "\n";
sMessage = sMessage + "Left: " + Left + "\n\n";
sMessage = sMessage + "And the following measurements: \n"
sMessage = sMessage + "Width: " + Width + "\n";
sMessage = sMessage + "Height: " + Height + "\n";
}
}
ResourceTabShowing
Syntax
ResourceTabShowing: WordBool
Boolean. Specifies whether the resource tab displays.
Description
Example
function Main(){
with (Application){
// Toggle resource tab on/off
ResourceTabShowing = !ResourceTabShowing;
}
}
ResultsShowing
Syntax
ResultsShowing: WordBool
Boolean. Specifies whether the results tab displays.
Description
Example
function Main() {
with (Application){
ResultShowing = false;
ResultShowing = true;
}
}
coordinates: \n";
// Get top
// Get left
// Get Width
// Get Height
If (ResultShowing)
//If the result bar is showing - hide it
Else
//Hide it otherwise
Chapter 14 Scripting the Visual Tools Object Model
Need help?
Do you have a question about the COLDFUSION STUDIO 5-USING COLDFUSION 5 STUDIO and is the answer not in the manual?