M
Michelle K.
I need to store the current position of the pointer so that I can place
another object at that position programmatically. Any ideas?
another object at that position programmatically. Any ideas?
Thanks for your response, Dale. That gives me the current top and left
position of the control within the form -- closer but not quite what I need.
I have a continuous subform in which I need to overlay the current cursor
position with another subform (to fake a combo box in only those records that
would have a combo box based on value of another field). Is there a way to
determine how many records are being displayed above the current record in a
continuous form? If I know that, I could mathematically determine the
vertical positioning based on position of the subform. Horizontal position
would always be the same so that's not an issue.
Again, thanks for responding -
Michelle K.
[quoted text clipped - 15 lines]My recommendation would be to use the MouseUp or MouseDown event of the
section that you are in.
Dale_Fye via AccessMonster.com said:Well, the form has a CurrentRecord property, which will tell you which record
you are on. So you could determine the number of records "above" it by
subtracting one.
However, I really don't understand what it is you are trying to do. You
might want to take a look at some of the stuff at www.lebans.com. Stephen
has come up with some really neat stuff for manipulating controls.
Dale
Thanks for your response, Dale. That gives me the current top and left
position of the control within the form -- closer but not quite what I need.
I have a continuous subform in which I need to overlay the current cursor
position with another subform (to fake a combo box in only those records that
would have a combo box based on value of another field). Is there a way to
determine how many records are being displayed above the current record in a
continuous form? If I know that, I could mathematically determine the
vertical positioning based on position of the subform. Horizontal position
would always be the same so that's not an issue.
Again, thanks for responding -
Michelle K.
[quoted text clipped - 15 lines]My recommendation would be to use the MouseUp or MouseDown event of the
section that you are in.I need to store the current position of the pointer so that I can place
another object at that position programmatically. Any ideas?