Application Object
Height
Syntax
Height: integer
Height in pixels of main window.
Description
Example
function Main() {
Var sMessage;
with (Application){
sMessage = "Top-left corner of your Window has the
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";
}
}
HInstance
Syntax
HInstance: integer (read-only)
Instance handle of the application.
Description
hWnd
Syntax
hWnd: integer (read-only)
Handle to the main window.
Description
IsColdFusionStudio
Syntax
IsColdFusionStudio: WordBool (read-only)
Boolean. Returns
Description
if HomeSite.
Example
function Main(){
with (Application){
if (IsColdFusionStudio){
}
}
}
following coordinates: \n";
// Get top
// Get left
// Get Width
// Get Height
if the application is ColdFusion Studio or JRun Studio,
True
// Show CF Advanced toolbar
ShowToolBar('CFML Advanced');
203
False
Need help?
Do you have a question about the COLDFUSION STUDIO 5-USING COLDFUSION 5 STUDIO and is the answer not in the manual?