mouse over and help assistance

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lorm
    New Member
    • Jun 2006
    • 1

    mouse over and help assistance

    Hi

    One irritable problem emarged recently. I've got databese in Access but I would like to place kind of question mark somewhere. When user moves pointer over it, some information (lighted rectangle would be the best) should appear (in javascript for html is possible and i suppose here as well). However I do not know how to do this. Could anyone help?


    Adam
    Last edited by lorm; Jun 16 '06, 01:23 PM.
  • PEB
    Recognized Expert Top Contributor
    • Aug 2006
    • 1418

    #2
    Hi,

    In each form in Access there is an event procedure named On mouse Move...

    It looks like it:

    Code:
    Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    
    End Sub
    For each moment with this procedure you obtain the coordinates of your Mouse!

    If you know the positions where your text box have to appear, in your Form you can create a label or text box control that usually is hidden but on special event you say
    Me![Mycomment].Visible=True

    You need also tho change it's coordinates using the properties:
    Me![Mycomment].Left=240
    AND
    Me![Mycomment].Top=150

    And what to appear inside

    If it's a textbox then

    Me![Mycomment].="My comment"

    If it's a label then
    Me![Mycomment].Caption="My comment"

    I think that as coding this is everything that you need for your case!

    :)

    Best regards!

    Comment

    Working...