Retrieves the style set for the content border within the HTML Application (HTA) window.
Syntax
HTML <HTA:APPLICATION BORDERSTYLE=sStyle> Scripting [ sStyle = ] oHTA.borderStyle
Possible Values
sStyle String that specifies one of the following values:
normal Normal border. complex Raised and sunken border. raised Raised 3-D border. static 3-D border typically used for windows that do not accept user input. sunken Sunken 3-D border. The property is read-only with a default value of normal.
Remarks
All HTAs have two adjacent borders: one for the content of a window, and one for the application window. The borderStyle property sets the style for the content border, while the border property controls the application window border.
Example
This example uses the borderStyle property to apply a normal border around the content of a window.
Sample Code
<HTML> <HEAD> <TITLE>Hello, World!</TITLE> <HTA:APPLICATION ID="oHTA" APPLICATIONNAME="sampleApp" CAPTION="yes" BORDER="thin" BORDERSTYLE="normal" > <SCRIPT> alert("borderStyle = " + oHTA.borderStyle); </SCRIPT> </HEAD> <BODY SCROLL="no"> </BODY> </HTML>
Applies To
HTA:APPLICATION
See Also