DrawMode Property
The DrawMode property contains the draw mode.
Syntax
document.all["id_name"].DrawMode [=long]
|
Possible Values
Long value that specifies or retrieves the draw mode.
|
The property is read/write.
Remarks
This property can be used instead of the Opened, Small and Selected property. The following values can be combined using the | operator:
Selected = 65536
Small = 1
Opened = 2
Examples
The following example shows the DrawMode property when the link is clicked.
<html>
<head>
<SCRIPT TYPE="text/javascript">
function ShowProp()
{
alert(SKFileIcon.DrawMode);
}
</SCRIPT>
</head>
<body>
<OBJECT ID="SKFileIcon" width="16" height="16"
CLASSID="CLSID:802B4DFC-E0AD-40DC-BFC2-EF5CB99E1291">
<PARAM NAME="DrawMode" value="2">
<PARAM NAME="Text" VALUE="Optional text">
<PARAM NAME="Path" VALUE="c:\programs\sitekiosk\sitekiosk.exe">
</OBJECT>
<br><br>
<a href="javascript:ShowProp()">Show DrawMode property</a>
</body>
</html>
|
Applies to
SiteKiosk v5.5 (and later versions).
Back to top