SCROLLFLAT Attribute | scrollFlat Property | Internet Development Index |
Sets or retrieves whether the scroll bar is 3-D or flat.
Syntax
HTML <HTA:APPLICATION SCROLLFLAT = sScrollFlat... > Scripting [ sScrollFlat = ] HTA:APPLICATION.scrollFlat
Possible Values
sScrollFlat 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 retrieve 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>
Standards Information
There is no public standard that applies to this property.
Applies To
HTA:APPLICATION