I have this:
I want when the form initializes for that the TextBox TextBoxym is given a value, but the xxx_Activate nor xxx_Initialiaze is working, I dunno why. The textbox stays blank.
But I created a button just to test, and when I initialize the form and press the button with the same code as xxx_Activate, the textbox text is filled, it works.
What am I getting wrong here?
Option Explicit
Private Sub AplicarConstantes_Click()
TextBoxym.Text = "Tst"
End Sub
Private Sub Constantes_Activate()
TextBoxym.Text = "Tst"
End Sub
I want when the form initializes for that the TextBox TextBoxym is given a value, but the xxx_Activate nor xxx_Initialiaze is working, I dunno why. The textbox stays blank.
But I created a button just to test, and when I initialize the form and press the button with the same code as xxx_Activate, the textbox text is filled, it works.
What am I getting wrong here?