Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / May 2007

Tip: Looking for answers? Try searching our database.

Combo Box and Control Tip

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
hotplate - 24 May 2007 20:27 GMT
Hi,
Is it possible to mouse over each choice in a combo box and get a
different tip for each one?

James
Dirk Goldgar - 24 May 2007 21:30 GMT
> Hi,
> Is it possible to mouse over each choice in a combo box and get a
> different tip for each one?

Not in any normal way.  Stephen Lebans has done some incredible things
with custom tooltips -- see http://www.lebans.com/tooltip.htm --  
including doing what you describe for a list box, but not (AFAIK) for a
combo box.  I assume the combo box is harder because its list isn't
always dropped down.  I'm not saying Stephen couldn't do it, mind you
...

Signature

Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)

Damon Heron - 24 May 2007 21:51 GMT
The mouse over doesn't make a selection, so I believe the answer is no.
However, if you want the controltiptext to change when the user makes a
selection then in the afterupdate event use a select case routine to change
the controltip based on user selection:

Private Sub Combo0_AfterUpdate()
Select Case Combo0
Case "Red"
Me.Combo0.ControlTipText = "This is red"
Case "White"
Me.Combo0.ControlTipText = "This is White"
Case "Blue"
Me.Combo0.ControlTipText = "This is Blue"
Case "Yellow"
Me.Combo0.ControlTipText = "This is Yellow"
End Select
End Sub

> Hi,
> Is it possible to mouse over each choice in a combo box and get a
> different tip for each one?
>
> James
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.