在鼠标DblClick坐标处打开弹出窗口 [英] Open Popup at Mouse DblClick Coordinates

查看:77
本文介绍了在鼠标DblClick坐标处打开弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Access 2002 ...我需要在鼠标位置打开一个弹出窗口

dblclick。有人能帮忙吗?我可以得到鼠标X&是的,但是

我不知道如何通过代码在特定位置打开表单。


提前致谢

解决方案

8月29日上午10点25分,Dave< KillnComput ... @ Verizon.Netwrote:


Access 2002 ...我需要在鼠标位置打开一个弹出窗口

dblclick。有人能帮忙吗?我可以得到鼠标X&是的,但是

我不知道如何通过代码在特定位置打开表单。


先谢谢



您可以尝试使用OpenArgs,然后在表单的打开

事件中解析它们。


例如:

DoCmd.OpenForm stDocName ,,, stLinkCriteria,

OpenArgs:=" x = 500; y = 100"


HI!感谢您的快速答复。不,那不行。



8月29日上午10:38,steb ... @ gmail.com写道:


8月29日上午10点25分,Dave< KillnComput ... @ Verizon.Netwrote:


Access 2002。 ..我需要在鼠标位置打开一个弹出窗口

dblclick。有人能帮忙吗?我可以得到鼠标X&是的,但是

我不知道如何通过代码在特定位置打开表单。


提前付款



您可以尝试使用OpenArgs然后解析它们表单中打开的

事件。


例如:

DoCmd.OpenForm stDocName ,,, stLinkCriteria,
OpenArgs:=" x = 500; y = 100"



Dave写道:


HI!感谢您的快速答复。不,那不行。



你错过的关键词是Parse这个词。


在代码模块中输入单词OpenArgs,高亮显示它,然后按F1。


我猜你可以去 www.dictionary.com 获取解析的定义。


>


8月29日上午10:38,steb ... @ gmail.com写道:


>> 8月29,上午10:25,Dave< KillnComput ... @ Verizon.Netwrote:


>>> Access 2002 ...我需要在鼠标位置打开一个弹出窗口
dblclick。有人能帮忙吗?我可以得到鼠标X&是的,但是我不知道如何通过代码在特定位置打开表单。


>>>提前致谢


您可以尝试使用OpenArgs然后解析他们在表格的公开
事件中。

例如:
DoCmd.OpenForm stDocName ,,, stLinkCriteria,
OpenArgs:=" x = 500; Y = 100"




Access 2002...I need to open a popup at the location of a mouse
dblclick. Can anyone help with this? I can get the mouse X & Y, but
I''m not sure how to open a form in a specific location by code.

Thanks in advance

解决方案

On Aug 29, 10:25 am, Dave <KillnComput...@Verizon.Netwrote:

Access 2002...I need to open a popup at the location of a mouse
dblclick. Can anyone help with this? I can get the mouse X & Y, but
I''m not sure how to open a form in a specific location by code.

Thanks in advance

You could try using the OpenArgs and then parsing them in the open
event of the form.

For instance:
DoCmd.OpenForm stDocName, , , stLinkCriteria,
OpenArgs:="x=500;y=100"


HI! Thanks for the quick reply. No, that doesn''t work.


On Aug 29, 10:38 am, steb...@gmail.com wrote:

On Aug 29, 10:25 am, Dave <KillnComput...@Verizon.Netwrote:

Access 2002...I need to open a popup at the location of a mouse
dblclick. Can anyone help with this? I can get the mouse X & Y, but
I''m not sure how to open a form in a specific location by code.

Thanks in advance


You could try using the OpenArgs and then parsing them in the open
event of the form.

For instance:
DoCmd.OpenForm stDocName, , , stLinkCriteria,
OpenArgs:="x=500;y=100"



Dave wrote:

HI! Thanks for the quick reply. No, that doesn''t work.

The key word you missed is the word "Parse".

Enter the word OpenArgs in a code module, highlite it, and press F1.

I guess you can go to www.dictionary.com to get the definition of "parse".

>
On Aug 29, 10:38 am, steb...@gmail.com wrote:

>>On Aug 29, 10:25 am, Dave <KillnComput...@Verizon.Netwrote:

>>>Access 2002...I need to open a popup at the location of a mouse
dblclick. Can anyone help with this? I can get the mouse X & Y, but
I''m not sure how to open a form in a specific location by code.

>>>Thanks in advance


You could try using the OpenArgs and then parsing them in the open
event of the form.

For instance:
DoCmd.OpenForm stDocName, , , stLinkCriteria,
OpenArgs:="x=500;y=100"




这篇关于在鼠标DblClick坐标处打开弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆