Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The Question of this month.....

Status
Not open for further replies.

cuok

Programmer
Dec 24, 2001
201
Hi friends,

Are there any way to get the caption of the option of the "Option Group" when the mouse moves over the option using the event "On mouse Move" ?

thanks
 
The following code will assign the name of the active control (in this case "ComboBox1") to the variable optionname.

Private Sub ComboBox1_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
optionname = Me.ActiveControl.Name
End Sub

Hope this helps,

Tom.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top