Control Methods

The methods you can use with a control object are found in the following table. For all of the following methods, the specified object is the control whose method is being called.

Method

Arguments

Description

Dropdown

None

Forces the list in the specified combo box to drop down

Move

Left, Top, Width, Height

Moves the specified object to the coordinates specified

Requery

None

Updates the data behind a control by requerying the source data for the control

SetFocus

None

Moves the focus to the specified control

SizeToFit

None

Sizes the control to fit the text or image it contains

Undo

None

Resets a control whose value has been changed

0 0

Post a comment