CanGetFocus

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

how convert CanGetfocus From VB6 to VB.Net

anywone, can help me?
thanks.
 
You can use Control.SetStyle with a style of ControlStyles.Selectable:

http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.setstyle.aspx

http://msdn2.microsoft.com/en-us/library/system.windows.forms.controlstyles.aspx

followed by Control.UpdateStyles:

http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.updatestyles.aspx



--
Hope this helps
Jay B. Harlow [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


|
| how convert CanGetfocus From VB6 to VB.Net
|
| anywone, can help me?
| thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top