Rediger

Del via


IExtender interface

The IExtender interface provides a set of basic properties that are added to the interface of a control. Programmers can use these properties as if they were part of the control.

Members

The IExtender interface inherits from the IUnknown interface. IExtender also has these types of members:

Methods

The IExtender interface has these methods.

Method Description
Move Moves an MDIForm, form, or control.

 

Properties

The IExtender interface has these properties.

Property Access type Description
Align
Read/write
Returns or sets a value that determines whether an object is displayed in any size anywhere on a form or whether it is displayed at the top, bottom, left, or right of the form and is automatically sized to fit the width of the form.
Constant Description
vbAlignNone 0 (Default in a non-MDI form) None—size and location can be set at design time or in code. The setting is ignored if the object is on an MDI form.
vbAlignTop 1 (Default in an MDI form) Top—the object is at the top of the form, and its width is equal to the ScaleWidth property setting of the form.
vbAlignBottom 2 Bottom—the object is at the bottom of the form, and its width is equal to the ScaleWidth property setting of the form.
vbAlignLeft 3 Left—the object is at the left of the form, and its width is equal to the ScaleWidth property setting of the form.
vbAlignRight 4 Right—the object is at the right of the form, and its width is equal to the ScaleWidth property setting of the form.

 

Container

Read-only

Returns the container of a control on a form.

Enabled

Read/write

Returns or sets a value that determines whether a form or control can respond to user-generated events.

Height

Read/write

Returns or sets the height of an object.

Hwnd

Read-only

Returns a handle to a form or control.

Left

Read/write

Returns or sets the distance between the internal left edge of an object and the left edge of its container.

Name

Read-only

Returns the name used in code to identify a form, control, or data access object.

Parent

Read-only

Returns the form, object, or collection that contains a control or another object or collection.

TabStop

Read/write

Returns or sets a value that indicates whether a user can use the Tab key to give the focus to an object.

Top

Read/write

Returns or sets the distance between the internal top edge of an object and the top edge of its container.

Visible

Read/write

Returns or sets a value that indicates whether an object is visible or hidden.

Width

Read/write

Returns or sets the width of an object.

 

Requirements

Requirement Value
DLL
Ole2disp.dll;
Oleaut32.dll