Hai all,

i am created a vb project and i want to know the code for selecting the contents in a textbox control when i press the Shft+tab key.


vijesh

In The Textbox's GotFocus() Event (Assuming the textbox is text1)

Text1.SelStart = 0
Text1.SelLength = Len(Text1.Text)
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.