Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2001
    Posts
    336

    Unanswered: Finding object under the cursor.

    Hi All,

    Is there any way to find out what object is under the cursor when a user clicks on a form?

    The code should be placed in Form_Click() event.

  2. #2
    Join Date
    Nov 2002
    Posts
    150

    Re: Finding object under the cursor.

    Originally posted by IGelin
    Hi All,

    Is there any way to find out what object is under the cursor when a user clicks on a form?

    The code should be placed in Form_Click() event.
    You would probably need to setup the OnMouseDown event for each control on the form.

  3. #3
    Join Date
    Nov 2001
    Posts
    336
    Hi FirstAndGoal4,

    Some elements on a form don't have such event. For example, a subform in datasheet view has header with columns' names. I want to trap when user clicks on the header.

    Igor

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •