H Herfried K. Wagner [MVP] Aug 10, 2006 #2 how convert CanGetfocus From VB6 to VB.Net Click to expand... What's 'CanGetfocus'?
J Jay B. Harlow [MVP - Outlook] Aug 10, 2006 #3 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.
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.
J Jay B. Harlow [MVP - Outlook] Aug 11, 2006 #4 Herfried, I had to look it up also. ;-) http://msdn.microsoft.com/library/d.../en-us/vb98/html/vbproCanGetFocusProperty.asp -- 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 | | What's 'CanGetfocus'? | | -- | M S Herfried K. Wagner | M V P <URL:http://dotnet.mvps.org/> | V B <URL:http://classicvb.org/petition/>
Herfried, I had to look it up also. ;-) http://msdn.microsoft.com/library/d.../en-us/vb98/html/vbproCanGetFocusProperty.asp -- 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 | | What's 'CanGetfocus'? | | -- | M S Herfried K. Wagner | M V P <URL:http://dotnet.mvps.org/> | V B <URL:http://classicvb.org/petition/>