textbox enter key

QuietRiot

Registered User.
Local time
Today, 01:15
Joined
Oct 13, 2007
Messages
71
I have a textbox set to memo. when you hit enter it brings you to the next field or button. So I changed that under tools and now if you hit enter it stays in the same textbox. The thing is I want it so when you hit enter its the same has if you were hitting CTRL Enter in that it goes to the next line. I want to create a multi line textbox basically.
 
Just another quirk of Access! You can set the default behavior for the Enter Key for the form, and every text box will adopt this setting, but you can also set each text box's Enter Key behvior! Goto the text box's Properties - Other and set Enter Key Behavior to New Line in Field.

Linq
 
Thank YOU!!!


that was waaaaay to easy
 
Just another quirk of Access! You can set the default behavior for the Enter Key for the form, and every text box will adopt this setting, but you can also set each text box's Enter Key behvior! Goto the text box's Properties - Other and set Enter Key Behavior to New Line in Field.

Linq
Linq:

I liked your other Avatar way better! :D
 
You know I did that just to rag on your comment, Bob! Although I did get the first of manyYankees caps 50 years ago, on my seventh birthday! I wish your Boys from Boston luck!

Linq
 
one more similar question..

the down key in a combo box. i want it to go down the list.

i disabled it under tools> options so if you hit down it doesn't go to the next field. however it still doesn't go down the list.

is there a property within the combo box because I can't find it
 
Setting the <Arrow> behavior in Options shouldn't affect its behavior in the combo box. The <Down Arrow> will only work, though, if the combo box is already dropped down! This code will drop the box down when it gets focus, and the <Down Arrow> should then function.

Code:
Private Sub YourComboBoxName_GotFocus()
  Me.YourComboBoxName.Dropdown
End Sub
 
You could also teach your users one of the standard Windows shortcuts for "opening" combos, F4 or Alt+DownArrow.
 
Gee, Roy, you must deal with a more intelligent group of end users than I do!:D
 
missinglinq
I learn shortcuts from my users ;)

QuietRiot (warning, opinions)
one of the points of teaching them such shortcuts, is that they are standard windows/office shortcuts that should work everywhere. For instance, in the browser, hit F6 to enter the URL field of the browser, hit F4 or Alt+DownArrow. When replying to a post here, in the reply pane hit Tab a couple of times (8?) till you're in the "Notification type" dropdown, hit F4 or Alt+DownArrow ...

These shortcuts should work in any app/system/web-page unless the programmer does some programming making the controls have non-default behaviour. I think one should have very strong reasons to change away from default behaviour.

I will usually use the controltip text property and status bar text property to hint to the user, say "Select Foobar (F4 opens the combo)"
 

Users who are viewing this thread

Back
Top Bottom