StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
Combo drop down
Combo drop down
Post Reply
Like
0
Combo drop down
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Ian Johnston
Ian Johnston
posted 14 Years Ago
ANSWER
Topic Details
Share Topic
Group: StrataFrame Users
Posts: 77,
Visits: 470
Is it possible to send the keystoke equivalent to the combo so it will drop down when it recieves the focus?
Reply
Like
0
Charles R Hankey
Charles R Hankey
posted 14 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 524,
Visits: 30K
Sure, just put
SendKeys.Send("%{DOWN}")
in the Enter handler for the dropdownlistbox
Of course you can just start typing to find the value you want.
Or, you can create a keypress handler to do the Sendkeys.Send on hitting space or something.
( this also works for dropping the calendar in a Datetimepicker, where I have it responding to a C or c.
Reply
Like
0
Greg McGuffey
Greg McGuffey
posted 14 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 2K,
Visits: 6.6K
A safer method is to use the
DroppedDown
property. Just set it to true.
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search