Control Object Methods

The methods you can use with a control object are explained in the following table. For all of these 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.

Method

Arguments

Description

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

  • Receive news updates via email from this site