H
HB
Is there a way I can determine the location of the last mouse pick without
using the mouse event procedures' X Y arguments?
I am using VB code in a wizard to make a new form and several controls and
want to set the event properties based on the mouse pick.
Here is a portion of the code and it works fine except the onMouseUp value
is set to a function which can't access the mouse coordinates, (unless I am
una ware of a method)
'Set frm = CreateForm
Set frm = Forms!form1
Set Line1.Container = CreateControl(frm.Name, acLabel, , "", "", 900, 900,
1200, 1200)
Line1.Container.Name = "Container1"
Line1.Container.OnMouseUp = "=CheckContainer()"
Can I use VB to write a sub procedure event handler like:
Sub Line1_mouseup (Button As Integer, Shift As Integer, X As Single, Y As
Single)
Thanks alot in advance
using the mouse event procedures' X Y arguments?
I am using VB code in a wizard to make a new form and several controls and
want to set the event properties based on the mouse pick.
Here is a portion of the code and it works fine except the onMouseUp value
is set to a function which can't access the mouse coordinates, (unless I am
una ware of a method)
'Set frm = CreateForm
Set frm = Forms!form1
Set Line1.Container = CreateControl(frm.Name, acLabel, , "", "", 900, 900,
1200, 1200)
Line1.Container.Name = "Container1"
Line1.Container.OnMouseUp = "=CheckContainer()"
Can I use VB to write a sub procedure event handler like:
Sub Line1_mouseup (Button As Integer, Shift As Integer, X As Single, Y As
Single)
Thanks alot in advance