developer.com
developerdirect.com
htmlgoodies.com
javagoodies.com
jars.com
intranetjournal.com
javascripts.com
|
All Categories :
ActiveX
Appendix E
ActiveX
Controls: Properties, Events, and Methods
The tables in this appendix summarize the properties, events,
and methods for the standard ActiveX controls found in the ActiveX
Control Pad:
- CheckBox
- ComboBox
- Command Button
- HotSpot
- Image Control
- Label
- ListBox
- Option Button
- Scroll Bar
- Spin Button
- Tab Strip
- TextBox
- Toggle Button
Table E.1. The CheckBox control.
Properties | Events
| Methods |
Accelerator | AfterUpdate
| SetFocus |
Alignment | BeforeDragOver
| ZOrder |
AutoSize | BeforeDropOrPaste
| |
BackColor | BeforeUpdate
| |
BackStyle | Change
| |
Caption | Click
| |
CodeBase | DblClick
| |
Enabled | Enter
| |
Font | Exit
| |
ForeColor | Error
| |
Height | KeyDown
| |
Width | KeyUp
| |
ID | KeyPress
| |
Left | MouseDown
| |
Top | MouseUp
| |
Locked | MouseMove
| |
MouseIcon |
| |
MousePointer |
| |
Picture |
| |
PicturePosition |
| |
SpecialEffect |
| |
TabIndex |
| |
TabStop |
| |
TripleState |
| |
Value |
| |
Visible |
| |
WordWrap |
| |
Table E.2. The ComboBox control.
Properties | Events
| Methods |
AutoSize | AfterUpdate
| AddItem |
AutoTab | BeforeDragOver
| Clear |
AutoWordSelect | BeforeDropOrPaste
| Copy |
BackColor | BeforeUpdate
| Cut |
BackStyle | Change
| DropDown |
BorderColor | Click
| Paste |
BorderStyle | DblClick
| RemoveItem
|
BoundColumn | DropButtonClick
| SetFocus |
CodeBase | Enter
| ZOrder |
Column | Exit
| |
ColumnCount | Error
| |
ColumnHeads | KeyDown
| |
ColumnWidths | KeyUp
| |
DragBehaviour | KeyPress
| |
DropButtonStyle | MouseDown
| |
Enabled | MouseUp
| |
EnterFieldBehaviour | MouseMove
| |
Font |
| |
ForeColor |
| |
Height |
| |
Width |
| |
HideSelection |
| |
ID |
| |
IMEMode |
| |
IntegralHeight |
| |
Left |
| |
Top |
| |
List |
| |
ListCount |
| |
ListIndex |
| |
ListRows |
| |
ListStyle |
| |
ListWidth |
| |
Locked |
| |
MatchEntry |
| |
MatchRequired |
| |
MaxLength |
| |
MouseIcon |
| |
MousePointer |
| |
SelectionMargin |
| |
SelLength |
| |
SelStart |
| |
SelText |
| |
ShowDownButtonWhen |
| |
SpecialEffect |
| |
Style |
| |
TabIndex |
| |
TabStop |
| |
Text |
| |
TextAlign |
| |
TextColumn |
| |
Value |
| |
Visible |
| |
Table E.3. The Command Button control.
Properties | Events
| Methods |
Accelerator | AfterUpdate
| SetFocus |
AutoSize | BeforeDragOver
| ZOrder |
BackColor | BeforeDropOrPaste
| |
BackStyle | BeforeUpdate
| |
Caption | Click
| |
CodeBase | DblClick
| |
Enabled | Enter
| |
Font | Exit
| |
ForeColor | Error
| |
Height | KeyDown
| |
Width | KeyUp
| |
ID | KeyPress
| |
Left | MouseDown
| |
Top | MouseUp
| |
Locked | MouseMove
| |
MouseIcon |
| |
MousePointer |
| |
Picture |
| |
PicturePosition |
| |
TabIndex |
| |
TabStop |
| |
Value |
| |
Visible |
| |
WordWrap |
| |
Table E.4. The HotSpot control.
Properties | Events
| Methods |
CodeBase | Click
| Move |
Enabled | DblClick
| ZOrder |
Height | Enter
| |
Width | Exit
| |
ID | MouseDown
| |
Left | MouseEnter
| |
Top | MouseExit
| |
MouseIcon | MouseUp
| |
MousePointer | MouseMove
| |
TabIndex |
| |
TabStop | |
|
Visible |
| |
Table E.5. The Image control.
Properties | Events
| Methods |
AutoSize | BeforeDragOver
| Move |
BackColor | BeforeDropOrPaste
| ZOrder |
BackStyle | Enter
| |
BorderColor | Exit
| |
BorderStyle | MouseDown
| |
CodeBase | MouseUp
| |
Enabled | MouseMove
| |
Height |
| |
Width |
| |
ID |
| |
Left |
| |
Top |
| |
PictureAlignment |
| |
PicturePath |
| |
PictureSizeMode |
| |
PictureTiling |
| |
SpecialEffect |
| |
Visible |
| |
Table E.6. The Label control.
Properties | Events
| Methods |
Accelerator | AfterUpdate
| ZOrder |
AutoSize | BeforeDragOver
| |
BackColor | BeforeDropOrPaste
| |
BackStyle | BeforeUpdate
| |
BorderColor | Click
| |
BorderStyle | DblClick
| |
Caption | Enter
| |
CodeBase | Exit
| |
Enabled | Error
| |
Font | MouseDown
| |
ForeColor | MouseUp
| |
Height | MouseMove
| |
Width |
| |
ID |
| |
Left |
| |
Top |
| |
MouseIcon |
| |
MousePointer |
| |
Picture |
| |
PicturePosition |
| |
Special Effect |
| |
TabIndex |
| |
TextAlign |
| |
Visible |
| |
WordWrap |
| |
Table E.7. The ListBox control.
Properties | Events
| Methods |
BackColor | AfterUpdate
| AddItem |
BorderColor | BeforeDragOver
| Clear |
BorderStyle | BeforeDropOrPaste
| RemoveItem
|
BoundColumn | BeforeUpdate
| SetFocus |
CodeBase | Change
| ZOrder |
Column | Click
| |
ColumnCount | DblClick
| |
ColumnHeads | Enter
| |
ColumnWidths | Exit
| |
Enabled | Error
| |
Font | KeyDown
| |
ForeColor | KeyUp
| |
Height | KeyPress
| |
Width | MouseDown
| |
ID | MouseUp
| |
IMEMode | MouseMove
| |
IntegralHeight |
| |
Left |
| |
Top |
| |
List |
| |
ListIndex |
| |
ListStyle |
| |
Locked |
| |
MatchEntry |
| |
MouseIcon |
| |
MousePointer |
| |
Selected |
| |
SpecialEffect |
| |
TabIndex |
| |
TabStop |
| |
Text |
| |
TextColumn |
| |
Value |
| |
Visible |
| |
Table E.8. The Option Button control.
Properties | Events
| Methods |
Accelerator | AfterUpdate
| SetFocus |
Alignment | BeforeDragOver
| Zorder |
AutoSize | BeforeDropOrPaste
| |
BackColor | BeforeUpdate
| |
BackStyle | Change
| |
Caption | Click
| |
CodeBase | DblClick
| |
Enabled | Enter
| |
Font | Exit
| |
ForeColor | Error
| |
GroupName | KeyDown
| |
Height | KeyUp
| |
Width | KeyPress
| |
ID | MouseDown
| |
Left | MouseUp
| |
Top | MouseMove
| |
Locked |
| |
MouseIcon |
| |
MousePointer |
| |
Picture |
| |
PicturePosition |
| |
SpecialEffect |
| |
TabIndex |
| |
TabStop |
| |
TripleState |
| |
Value |
| |
Visible |
| |
WordWrap |
| |
Table E.9. The Scroll Bar control.
Properties | Events
| Methods |
BackColor | AfterUpdate
| Move |
CodeBase | BeforeDragOver
| SetFocus |
Delay | BeforeDropOrPaste
| ZOrder |
Enabled | BeforeUpdate
| |
ForeColor | Change
| |
Height | Enter
| |
Width | Exit
| |
ID | Error
| |
LargeChange | KeyDown
| |
Left | KeyUp
| |
Top | KeyPress
| |
Max | Scroll
| |
Min |
| |
MouseIcon |
| |
MousePointer |
| |
Orientation |
| |
ProportionalThumb |
| |
SmallChange |
| |
TabIndex |
| |
TabStop |
| |
Value |
| |
Visible |
| |
Table E.10. The Spin Button control.
Properties | Events
| Methods |
BackColor | AfterUpdate
| SetFocus |
CodeBase | BeforeDragOver
| ZOrder |
Delay | BeforeDropOrPaste
| |
Enabled | BeforeUpdate
| |
ForeColor | Change
| |
Height | Enter
| |
Width | Exit
| |
ID | Error
| |
Left | KeyDown
| |
Top | KeyUp
| |
Max | KeyPress
| |
Min | SpinDown
| |
MouseIcon | SpinUp
| |
MousePointer |
| |
Orientation |
| |
SmallChange |
| |
TabIndex |
| |
TabStop |
| |
Value |
| |
Visible |
| |
Table E.11. The Tab Strip control.
Properties | Events
| Methods |
Accelerator | BeforeDragOver
| SetFocus |
BackColor | BeforeDropOrPaste
| ZOrder |
Caption | Change
| |
CodeBase | Click
| |
Enabled | DblClick
| |
Font | Enter
| |
ForeColor | Exit
| |
Height | Error
| |
Width | KeyDown
| |
ID | KeyUp
| |
Left | KeyPress
| |
Top | MouseDown
| |
MouseIcon | MouseUp
| |
MousePointer | MouseMove
| |
MultiRow |
| |
SelectedItem |
| |
Style |
| |
TabFixedHeight |
| |
TabFixedWidth |
| |
TabIndex |
| |
TabOrientation |
| |
TabStop |
| |
Value |
| |
Visible |
| |
Table E.12. The TextBox control.
Properties | Events
| Methods |
AutoSize | AfterUpdate
| Copy |
AutoTab | BeforeDragOver
| Cut |
AutoWordSelect | BeforeDropOrPaste
| Paste |
BackColor | BeforeUpdate
| SetFocus |
BackStyle | Change
| ZOrder |
BorderColor | DblClick
| |
BorderStyle | Enter
| |
CodeBase | Exit
| |
CurLine | Error
| |
DragBehaviour | KeyDown
| |
Enabled | KeyUp
| |
EnterFieldBehaviour | KeyPress
| |
EnterKeyBehaviour | MouseDown
| |
Font | MouseUp
| |
ForeColor | MouseMove
| |
Height |
| |
Width |
| |
HideSelection |
| |
ID |
| |
IMEMode |
| |
IntegralHeight |
| |
Left |
| |
Top |
| |
LineCount |
| |
Locked |
| |
MaxLength |
| |
MouseIcon |
| |
MousePointer |
| |
MultiLine |
| |
PasswordChar |
| |
ScrollBars |
| |
SelectionMargin |
| |
SelLength |
| |
SelStart |
| |
SelText |
| |
Special Effect |
| |
TabIndex |
| |
TabKeyBehaviour |
| |
TabStop |
| |
Text |
| |
TextAlign |
| |
Value |
| |
Visible |
| |
WordWrap |
| |
Table E.13. The Toggle Button control.
Properties | Events
| Methods |
Accelerator | AfterUpdate
| SetFocus |
Alignment | BeforeDragOver
| ZOrder |
AutoSize | BeforeDropOrPaste
| |
BackColor | BeforeUpdate
| |
BackStyle | Change
| |
Caption | Click
| |
CodeBase | DblClick
| |
Enabled | Enter
| |
Font | Exit
| |
ForeColor | Error
| |
Height | KeyDown
| |
Width | KeyUp
| |
ID | KeyPress
| |
Left | MouseDown
| |
Top | MouseUp
| |
Locked | MouseMove
| |
MouseIcon |
| |
MousePointer |
| |
Picture |
| |
PictureProperty |
| |
SpecialEffect |
| |
TabIndex |
| |
TabStop |
| |
TripleState |
| |
Value |
| |
Visible |
| |
WordWrap |
| |
|
|