ControlExtendedProperties Interface Reference

Specifies extended properties for a Control. More...

List of all members.

Properties

VARIANT_BOOL RW AllowLeftButtonDown []
 If "FALSE" then the control does not react to the left mouse button click.
VARIANT_BOOL RW AllowRightButtonDown []
 If "FALSE" then the control does not react to the right mouse button click.
VARIANT_BOOL RW AllowMiddleButtonDown []
 If "FALSE" then the control does not react to the middle mouse button click.
VARIANT_BOOL RW AllowLeftButtonDoubleClick []
 If "FALSE" then the control does not react to the left mouse button double click.
VARIANT_BOOL RW AllowRightButtonDoubleClick []
 If "FALSE" then the control does not react to the right mouse button double click.
VARIANT_BOOL RW AllowMiddleButtonDoubleClick []
 If "FALSE" then the control does not react to the middle mouse button double click.


Detailed Description

Specifies extended properties for a Control.

See also:
ExtendedProperties.
Example (JScript):

o = new ActiveXObject("Scripting.WindowSystemObject")

f = o.CreateForm(0,0,0,0)

f.ClientWidth = 500
f.ClientHeight = 300
f.CenterControl()
f.Text = "Web Browser"

t = f.Menu.Add("File")
t.Add("Exit","ESC").OnExecute = CloseFormHandler

Browser = f.CreateActiveXControl(0,0,0,0,"{8856F961-340A-11D0-A96B-00C04FD705A2}")
Browser.Align = o.Translate("AL_CLIENT")


f.Show()

Browser.Control.Navigate(StartupDir() + "ActiveXNoContextMenu.js.htm")

Browser.ExtendedProperties.AllowRightButtonDown = false
Browser.ExtendedProperties.AllowRightButtonDoubleClick = false


o.Run()


function CloseFormHandler(Sender)
{
        Sender.Form.Close()
}


function StartupDir() {s = WScript.ScriptFullName; s = s.substring(0,s.lastIndexOf("\\")+1); return s; }

Since:
1.1.17.


Property Documentation

VARIANT_BOOL RW AllowLeftButtonDoubleClick

If "FALSE" then the control does not react to the left mouse button double click.

VARIANT_BOOL RW AllowLeftButtonDown

If "FALSE" then the control does not react to the left mouse button click.

VARIANT_BOOL RW AllowMiddleButtonDoubleClick

If "FALSE" then the control does not react to the middle mouse button double click.

VARIANT_BOOL RW AllowMiddleButtonDown

If "FALSE" then the control does not react to the middle mouse button click.

VARIANT_BOOL RW AllowRightButtonDoubleClick

If "FALSE" then the control does not react to the right mouse button double click.

VARIANT_BOOL RW AllowRightButtonDown

If "FALSE" then the control does not react to the right mouse button click.


WSO 1.1 Documentation. Date modified:Wed Aug 12 18:12:28 2015. (C) Veretennikov A. B. 2004-2015