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

sScrollFlatString that specifies one of the following values.
yesScroll bars are flat.
noDefault. 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