|
-
May 2nd, 2003, 02:14 PM
#1
Thread Starter
Frenzied Member
txtbox.focus
I'm setting focus to a textbox that has data in it. The maxlength is set to maxlength = 50. It sets the focus to the end of the txtbox...how can I set it to the begining of the the txtbox?
thanks
It's tough being an unhandled exception...
___________
VB.NET 2008
VB.NET 2010
ORACLE 11g
CRYSTAL 11
-
May 2nd, 2003, 02:21 PM
#2
Frenzied Member
Textbox1.Select(0,0)
Edit: Put that after Textbox1.Focus
'Heading for the automatic overload'
Marillion, Brave, The Great Escape, 1994
'How will WE stand the FIRE TOMORROW?'
Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979
-
May 2nd, 2003, 02:27 PM
#3
Thread Starter
Frenzied Member
I tried that code, but still getting the same results..
VB Code:
txtVendor.Focus()
txtVendor.Select(0, 0)
It's tough being an unhandled exception...
___________
VB.NET 2008
VB.NET 2010
ORACLE 11g
CRYSTAL 11
-
May 2nd, 2003, 02:32 PM
#4
Frenzied Member
'Heading for the automatic overload'
Marillion, Brave, The Great Escape, 1994
'How will WE stand the FIRE TOMORROW?'
Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979
-
May 2nd, 2003, 04:11 PM
#5
Sleep mode
The code Lunatic3 posted worked fine . It moves focus to the textbox offset even while Maxlength set to =50 .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|