Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C Sharp only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
C Sharp
How to activate specific object when form is loaded ?(c#)
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
desturrr
New Member
Join Date:
Oct 2009
Posts:
18
#1
How to activate specific object when form is loaded ?(c#)
Oct 31 '09, 12:56 PM
I want my combobox to become an active object and ready to input text into that right after form is loaded ? Is there a way to make my combobox active control ?
Thanks
Fr33dan
New Member
Join Date:
Oct 2008
Posts:
57
#2
Oct 31 '09, 03:11 PM
You should try setting the TabIndex to 1. If that doesn't work you could call .Focus() on your combobox in the Form.Load event.
Comment
Post
Cancel
desturrr
New Member
Join Date:
Oct 2009
Posts:
18
#3
Oct 31 '09, 05:03 PM
Thanks. I used the Focus() method in form activation method and it worked smoothly .
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment