Results 1 to 5 of 5
  1. #1
    taimysho0 is offline Competent Performer
    Windows XP Access 2000
    Join Date
    Nov 2011
    Posts
    286

    Possible to mouse over a bound textbox to show all info in the box?


    hello, does access have a mouse over feature like in excel where theres a red carrot and if you roll over it, a note appears?


    i have a form with a bound textbox. this textbox contains notes. however due to the size of the form, the textbox does not show all of the notes sometimes and user has to click the textbox and scroll to the right to read it. Is there a way the user can mouse over the textbox and another box appears with the full notes in it? if not, is there something similar? thanks!

  2. #2
    taimysho0 is offline Competent Performer
    Windows XP Access 2000
    Join Date
    Nov 2011
    Posts
    286
    similar to the idea of a tool tip

  3. #3
    taimysho0 is offline Competent Performer
    Windows XP Access 2000
    Join Date
    Nov 2011
    Posts
    286
    in the controltip property of the textbox, is there a way for me to use the control source of the textbox itself?

  4. #4
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    The Command for this is acCmdZoomBox. The problems with using this in conjunction with the MouseMove event is that it

    • Zooms the Control that currently has Focus, not the Control whose MouseMove event is executing the Command
    • Zooms that Control on the Record that has Focus (is the Current Record).

    The best way to do this is to use the Control's Double-Click event to expand it. That way you know you're getting the data for that Control on that Record:

    Code:
    Private Sub TargetTextbox_DblClick(Cancel As Integer)
     DoCmd.RunCommand acCmdZoomBox
    End Sub
    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

  5. #5
    John_G is offline VIP
    Windows XP Access 2003
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    Missinlinq is right, but be aware that if the textbox has any code in the OnClick event, it will also be executed, before the DoubleClick event code is executed.

    John

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 01-26-2012, 05:15 PM
  2. Replies: 1
    Last Post: 09-12-2011, 10:15 AM
  3. Bound textbox causes problems
    By LAazsx in forum Forms
    Replies: 8
    Last Post: 12-09-2010, 09:25 AM
  4. Show Mouse Position
    By pkstormy in forum Code Repository
    Replies: 0
    Last Post: 08-31-2010, 04:37 AM
  5. Report will not print a bound textbox
    By vvrt in forum Reports
    Replies: 0
    Last Post: 03-16-2006, 02:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums