SCROLLFLAT Attribute | scrollFlat Property
Sets or gets a string value that indicates whether the scroll bar is 3-D or flat.
Syntax
HTML <HTA:APPLICATION SCROLLFLAT = sScrollFlat... > Scripting [ sScrollFlat = ] HTA:APPLICATION.scrollFlat
Possible Values
sScrollFlat A String that specifies one of the following values.
yes
- Scroll bars are flat.
- no
- Default. Scroll bars are 3-D.
The property is read-only. The property has a default value of no.
Remarks
Note The scrollFlat property is read-only; however, the SCROLLFLAT attribute can be used to set the initial value.
Example
This example shows how to get the scrollFlat property.
<HTML> <HEAD> <HTA:APPLICATION ID=oHTA SCROLLFLAT="yes"/> <TITLE>HTA Properties</TITLE> <STYLE> BODY {font-size: 8pt; font-family: Arial;} </STYLE> </HEAD> <SCRIPT> function readFun() { alert("The scrollFlat property is set to: " + oHTA.scrollFlat); } </SCRIPT> <BODY> <P>Read the property: <INPUT TYPE="button" VALUE="Test scrollFlat value" onClick="readFun()"/> </P> <p>.</p><p>.</p><p>.</p><p>.</p><p>.</p> <p>.</p><p>.</p><p>.</p><p>.</p><p>scroll down</p> <p>.</p><p>.</p><p>.</p><p>.</p><p>.</p> <p>.</p><p>.</p><p>.</p><p>.</p><p>scroll down</p> <p>.</p><p>.</p><p>.</p><p>.</p><p>.</p> <p>.</p><p>.</p><p>.</p><p>.</p><p>scroll down</p> </BODY> </HTML>
Applies To
HTA:APPLICATION