BORDERSTYLE Attribute | borderStyle Property | Internet Development Index |
Sets or retrieves the style set for the content border within the HTML Application (HTA) window.
Syntax
HTML <HTA:APPLICATION BORDERSTYLE = sStyle... > Scripting [ sStyle = ] HTA:APPLICATION.borderStyle
Possible Values
sStyle String that specifies one of the following values:
normal Default. 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. The property has a default value of normal.
Remarks
Note The borderStyle property is read-only; however, the BORDERSTYLE attribute can be used to set the initial value.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.
<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>
Standards Information
There is no public standard that applies to this property.
Applies To
HTA:APPLICATION
See Also
Introduction to HTML Applications (HTAs)