M
Mark A. Sam
Hello,
Is it posible to position a popup form relative to the position of a textbox
on a form? I have a popup called [Numpad] which positions itself based
using the Load Event, with the calling form maximized. If the calling form
isn't maximized, obviously it will be in the wrong position based on those
coordinates.
So when I enter the textbox form [Numpad] is opened and positions itself
with this proedure:
Private Sub Form_Load()
If Not IsNull(OpenArgs) Then
Dim i1 As Integer, i2 As Integer
i1 = CInt(Parse(OpenArgs, 1, "-"))
i2 = CInt(Parse(OpenArgs, 2, "-")) + 3000
DoCmd.MoveSize i1, i2
End If
End Sub
I can place [Numpad] on the calling form as a subform, but would like to use
a floating form instead.
Thanks for any help.
God Bless,
Mark A. Sam
Is it posible to position a popup form relative to the position of a textbox
on a form? I have a popup called [Numpad] which positions itself based
using the Load Event, with the calling form maximized. If the calling form
isn't maximized, obviously it will be in the wrong position based on those
coordinates.
So when I enter the textbox form [Numpad] is opened and positions itself
with this proedure:
Private Sub Form_Load()
If Not IsNull(OpenArgs) Then
Dim i1 As Integer, i2 As Integer
i1 = CInt(Parse(OpenArgs, 1, "-"))
i2 = CInt(Parse(OpenArgs, 2, "-")) + 3000
DoCmd.MoveSize i1, i2
End If
End Sub
I can place [Numpad] on the calling form as a subform, but would like to use
a floating form instead.
Thanks for any help.
God Bless,
Mark A. Sam