How to find which Control is placed in a Form Pixel(X,Y) - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

How to find which Control is placed in a Form Pixel(X,Y)

dubidubi Posts: 121Member
Hello friends,
I use Drag and Drop Events in my application.
Can we find out which control is placed or present in
the co-ordinate specified inside the form.
For example how can we know whether a EditBox1 control is placed in
(200,300) position in the Form.
Other way,how to know which control is placed in (200,300)
position in the Form.
Hope you got me what I am trying to explain.
Thanks for your answers.


Comments

  • zibadianzibadian Posts: 6,349Member
    : Hello friends,
    : I use Drag and Drop Events in my application.
    : Can we find out which control is placed or present in
    : the co-ordinate specified inside the form.
    : For example how can we know whether a EditBox1 control is placed in
    : (200,300) position in the Form.
    : Other way,how to know which control is placed in (200,300)
    : position in the Form.
    : Hope you got me what I am trying to explain.
    : Thanks for your answers.
    :
    :
    :
    Check out the ControlAtPos() method.
  • dubidubi Posts: 121Member
    : : Hello friends,
    : : I use Drag and Drop Events in my application.
    : : Can we find out which control is placed or present in
    : : the co-ordinate specified inside the form.
    : : For example how can we know whether a EditBox1 control is placed in
    : : (200,300) position in the Form.
    : : Other way,how to know which control is placed in (200,300)
    : : position in the Form.
    : : Hope you got me what I am trying to explain.
    : : Thanks for your answers.
    : :
    : :
    : :
    : Check out the ControlAtPos() method.
    :

    Thank you Zibadian.
    It works!


Sign In or Register to comment.