I have built a control that is basically a text box with limits that control the characters that can be entered, in this case it is only numeric data.
When I load the form that contains the new component I try to set the focus to new control with
NewControl1.SetFocus
but I get a runtime error 5, invalid procedure call or argument,
when I use a regular textbox and code
TextBox1.SetFocus
it works fine.
Any help on what is needed ?
When I load the form that contains the new component I try to set the focus to new control with
NewControl1.SetFocus
but I get a runtime error 5, invalid procedure call or argument,
when I use a regular textbox and code
TextBox1.SetFocus
it works fine.
Any help on what is needed ?