R
Ray C
I thought that I knew this but I must be wrong, please help.
I want to change various parameters of text / combo boxes and Labels under
prog control. The Form is called "Main" and i have tried the following to try
and change the parameters of a combo box called "cmb_Hdr_Select1" :-
Private Sub Form_Activate()
With Forms.Main.cmb_Hdr_Select1
.Left = 5
.Top = 2
.Width = 4.5
.Height = 1
.Visible = True
End With
' tried with and end with, then just calling the object by name
cmb_Hdr_Select1.Left = 5
cmb_Hdr_Select1.Top = 2
cmb_Hdr_Select1.Width = 4.5
cmb_Hdr_Select1.Height = 10
Neither seem to work. I must be doing something fundamentaly wrong, any help
appreciated.
Ray C
I want to change various parameters of text / combo boxes and Labels under
prog control. The Form is called "Main" and i have tried the following to try
and change the parameters of a combo box called "cmb_Hdr_Select1" :-
Private Sub Form_Activate()
With Forms.Main.cmb_Hdr_Select1
.Left = 5
.Top = 2
.Width = 4.5
.Height = 1
.Visible = True
End With
' tried with and end with, then just calling the object by name
cmb_Hdr_Select1.Left = 5
cmb_Hdr_Select1.Top = 2
cmb_Hdr_Select1.Width = 4.5
cmb_Hdr_Select1.Height = 10
Neither seem to work. I must be doing something fundamentaly wrong, any help
appreciated.
Ray C