I am unable to write in my T.B.O..>>??
Also unable to backspace..
Error that comes up says Type mismatch object.. ProcessKeyStrokes...
This is my code in the Advanced of the Frame;
- Code: Select all
LoadControl TextBoxObject(2)
TextBoxObject(2).move 218*15, 251*15, 304*15, 26*15
TextBoxObject(2).visible = True
TextBoxObject(2).Font = "Comic Sans MS"
TextBoxObject(2).Font.size ="12"
TextBoxObject(2).Forecolor = RGB (255,255,255)
TextBoxObject(2).backcolor = RGB(128,64,0)
Text(2).Caption = ""
The Text(2).Caption is for additional text on the frame..
So they can see.. they made an error..
As opposed to a message at the bottom or a message box;
For instance;
This is my code in the ENTER button to check if the T.B.O entry is correct..
- Code: Select all
If TextBoxObject(2).Text <> " The correct Sequence of words" Then
Text(2).Caption = "Wrong Sequence"
Else
Text(2).Caption = "Your Freedom Has Been Granted"
End If
The correct sequence code is actual text..not numbers..
.
I've used this code before...I don't remember ever getting this error before with a T.B.O...
I thought it was the Font..so i changed it..
I'm not sure what I did differently before to allow the user to type in it..and backspace..? I didn't use KG..then..