Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBTab and RichTextBox

Status
Not open for further replies.

yacyac

Programmer
Jul 29, 2002
78
US
I know this is simple - but its Thursday, and i just can't think. I have only a Form with only a RichTextBox on it. The tab key works as a tab key would in a word document (it indents). If I have another control on the Form the tab Key moves focus to the next control - I want it to continue to act as it would in a word document. How do I keep the tab key from moving the focus to the next control???

Thanks in advance for help with a simple problem that I know I know the answer to but can not find today in my miandering.
 
I answered my own question.

Use CTRL + Tab or set TabStop to false for all the controls on the form temporarily

For Each Control In Controls
Control.TabStop = False
Next Control
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top