dandono
Aug 17th, 2004, 05:16 AM
if any one wanted to know how to have a user make the title insted of programing a title into a vb application here's how to:
you need a text box and a button and this is the very simple code
Private Sub Command1_Click()
Form1.Caption = Text1
End Sub
one line of code and it is done.. but does anyone know how i can do this by pressing enter on the keyboard
i know how to change it as soon as a letter is typed in to the text box like this
Private Sub Text1_Change()
Form1.Caption = Text1
End Sub
but there must be a way of getting something to happen when i press enter on the keyboard.. please post a reply
you need a text box and a button and this is the very simple code
Private Sub Command1_Click()
Form1.Caption = Text1
End Sub
one line of code and it is done.. but does anyone know how i can do this by pressing enter on the keyboard
i know how to change it as soon as a letter is typed in to the text box like this
Private Sub Text1_Change()
Form1.Caption = Text1
End Sub
but there must be a way of getting something to happen when i press enter on the keyboard.. please post a reply