Open dialog form at mouse pointer

A

Andy6

I have a form in which you click on a field and a dialog form pops up with
more info but it always opens centred on form. is there a simple way to have
the dialog open near the field clicked by using the mouse pointer x,y, values
or reference to the position of the field clicked.
Many thanks in advance for any sugetions.
Andy*******************
 
A

Andy6

Stephen Lebans said:
See:
http://www.lebans.com/openform.htm
A97OpenFormRelativeToControl.zip is an MDB showing how to open a second Form
relative to a control on the parent Form.
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
Thank you Stephen, I read your excelent example many moons ago but could not
find it yesterday, it is rather long and written to cope with all sorts of
situations but I need 'Case 2' only and feel to import your whole data would
be rather like buying a tank to shoot a mouse. surely there must be a simple
way of matching the Top/Left of a control with the Top/Left of a floating
form plus or minus width/height offsets.
I can almost here you saying "If there was I would have said so"
Well if there isn't the dialog can remain where it is, centred on the screen.
I feel it would take me about a year and a four foot high stack of tech
manuals to understand what you are doing in your example and that would not
meet my dead lines.But many thanks for your excelent work and your commitment
to us out here in Access world.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top