RotoGuru Computer Forum

View the Forum Registry

XML Get RSS Feed for this thread


Self-edit this thread


0 Subject: Easy VB question

Posted by: deraynman
- [300372415] Fri, Mar 24, 2006, 11:09

I have a textbox. After the user types in it and presses Enter I would like the listbox below to get selected (to eliminate the need for a mouse). I am basically trying to sequence the objects on my form.

I learned VB in high school but it has been 6 or 7 years since and forget a lot of the commands. I tried searching online and help documentation but I can't seem to find what I am looking for.
1CJ
      Sustainer
      ID: 499271021
      Sun, Mar 26, 2006, 00:43
What about the Tab settings. I recall being able to set the order for tab settings. Doubt that is what you are really after though. Sounds like code to prompt the next selection based on the current selection. Kind of like a query on the results. You would have to build a condition? I have a drop down box in access where if you selected something then it would then change what possibilities were available in the next selection box. But that was built on a form in Access with Tables that were reference from the VB Code. And if a selection was attempted that was not true then it would default back to the first box.
2deraynman
      ID: 511124121
      Sun, Mar 26, 2006, 22:58
I was thinking about using the tab settings in a manner like: If keypress = enter then go to tab index 4. Or something similar to that. Thanks for the help.
RotoGuru Computer Forum

View the Forum Registry

XML Get RSS Feed for this thread


Self-edit this thread




Post a reply to this message: (But first, how about checking out this sponsor?)

Name:
Email:
Message:
Click here to create and insert a link
Ignore line feeds? no (typical)   yes (for HTML table input)


Viewing statistics for this thread
Period# Views# Users
Last hour11
Last 24 hours11
Last 7 days22
Last 30 days86
Since Mar 1, 20071022464