Hi
I have created a control which is designed to fit around a form.
The only problem is I do not know how to make the control which I have created automatically fit to the edges of a form.
How can I do this?
I will be happy with something on the lines of,
UserControl.Left = 0
UserControl.Width = Screen.ActiveForm.Width
UserControl.Top = 0
UserControl.Height = Screen.ActiveForm.Height
Obviously this doesn't work anything similar though?
Cheers
Jim
Kindest Regards
Jim
-
I have created a control which is designed to fit around a form.
The only problem is I do not know how to make the control which I have created automatically fit to the edges of a form.
How can I do this?
I will be happy with something on the lines of,
UserControl.Left = 0
UserControl.Width = Screen.ActiveForm.Width
UserControl.Top = 0
UserControl.Height = Screen.ActiveForm.Height
Obviously this doesn't work anything similar though?
Cheers
Jim
Kindest Regards
Jim
-