www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
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.
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 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" />
</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
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG