home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Vb.Net: SetFocus

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2516
Discussions: 200,995, Posts: 2,379,936, Members: 246,363
Old October 22nd, 2002, 01:33 PM   Digg it!   #1 (permalink)
Ordained Mommy
 
NeoStarO1's Avatar
 
Join Date: Oct 2001
Location: Big Sky Country
Posts: 4,259
Blog Entries: 1
Vb.Net: SetFocus

I have one of my buttons set to clear all fields and its also suppose to setfocus to the first text box and I have forgotten how to set this. It clears the fields as of now but I need the cursor to set focus on the first field for new input.

I have read through the help files however they didn't really explain set foucs to one area but rather in setfocus on behavior of the backgrounds and such.

I kinda got the impression that set focus is set in properties but my guts say no.

TIA
NeoStarO1 is offline   Reply With Quote
Old October 22nd, 2002, 02:46 PM     #2 (permalink)
Not Really a Member
 
Join Date: Oct 2001
Posts: 25,401
usually its just txtbox1.SetFocus.. I think .net changed it a little bit but not much.

So whatever the name of the first text box is, just call its .SetFocus method
__________________
Helicopters don't fly; they vibrate so much and make so much noise that the earth rejects them.
vass0922 is online now   Reply With Quote
Old October 22nd, 2002, 09:15 PM     #3 (permalink)
Ordained Mommy
 
NeoStarO1's Avatar
 
Join Date: Oct 2001
Location: Big Sky Country
Posts: 4,259
Blog Entries: 1
now that looks familiar. Thanks vass! ya a sweethart!
NeoStarO1 is offline   Reply With Quote
Old October 22nd, 2002, 09:21 PM     #4 (permalink)
Not Really a Member
 
Join Date: Oct 2001
Posts: 25,401
No worries
vass0922 is online now   Reply With Quote
Old October 22nd, 2002, 09:25 PM     #5 (permalink)
Ordained Mommy
 
NeoStarO1's Avatar
 
Join Date: Oct 2001
Location: Big Sky Country
Posts: 4,259
Blog Entries: 1
Don't worry be happy huh???

Hey what is that logical error doing there. Arggggg!!!!
NeoStarO1 is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (3089)
Foxconn Blackops x48 MoBo (5)
Charges against non-tippers dropped.. (22)
Health Care Rationing (16)
Nvidia GTX 260 problem (13)
Delete an OS (17)
Laptop with wireless problem. (13)
Wireless Televisions. (12)
windows vista security holes (19)
CPU fan stops spinning randomly (11)
Regular Build (11)
Point and Shoot Camera Suggestions. (9)
[F@H SPAM 11/16/09] ! 1/2 months to.. (41)
windows 7 problem (7)
Recent Discussions
Nvidia GTX 260 problem (13)
Laptop with wireless problem. (13)
Point and Shoot Camera Suggestions. (9)
Is the PSU I received dead? (16)
FreeAgent drive software not x64 comp.. (1)
Intel 5100 AGN issues fixed yet? (28)
Foxconn Blackops x48 MoBo (5)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (41)
Print spooler problem (17)
Q9650 vs. Q9550 (2)
Desktop Calendar Application (2)
Looking for new motherboard (1)
soundmon.exe (8)
Jedi Academy Problem (3)
Can a page file be "too big".. (1)
Size after cutting 700Mb file is 2.5 .. (0)
Delete an OS (17)
windows vista security holes (19)
updating BIOS via winflash, claims fi.. (1)
New Server Configuration Suggestions (0)
cheap gaming laptop? (12)
Unallocated Space (2)
help me pls laptop just stopped worki.. (1)
C# + LINQ Help (7)
Dynex DX E-402 (3)


All times are GMT -4. The time now is 11:11 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28