|
-
Nov 21st, 2008, 06:10 PM
#1
Thread Starter
Not NoteMe
[RESOLVED] [3.0/LINQ] Allow inherited control to be selectable and have focus
I have a control that inherits from UserControl and i want it to be selectable and to receive input focus. (I need to be able to give it focus and make it selectable through code).
I've tried setting the controlstyle to selectable, hiding the inherited CanSelect/CanFocus properties (using new bool ....) but even that doesn't give the control focus when i do MyControl.Focus() and ParentForm.ActiveControl = this.
Any ideas?
Last edited by SLH; Nov 23rd, 2008 at 06:43 AM.
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe
"I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Have I helped you? Please Rate my posts. 
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
|