![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Basic4ppc Wishlist Missing any feature? |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
You can use a code similar to:
Code:
Sub App_Start
Form1.Show
End Sub
Sub TextBox1_KeyPress (key)
If Asc(key) = 13 Then
textbox1.IgnoreKey
button1_click
End If
End Sub
Sub Button1_Click
Msgbox(textbox1.Text)
End Sub
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Capture name of control that has focus | aerohost | Questions & Help Needed | 5 | 06-21-2008 10:31 PM |
| set focus function | gjoisa | Questions & Help Needed | 3 | 05-13-2008 04:53 PM |
| Focus text in textbox! | superbabicka | Questions & Help Needed | 6 | 04-01-2008 11:48 AM |
| Focus | pmu5757 | Questions & Help Needed | 2 | 03-21-2008 05:16 PM |
| listbox focus select using textbox | Dr. Feelgood | Questions & Help Needed | 2 | 02-15-2008 12:25 AM |