473,387 Members | 1,882 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

CanGetFocus


how convert CanGetfocus From VB6 to VB.Net

anywone, can help me?
thanks.
Aug 10 '06 #1
3 1930
<qu*********@hotmail.comschrieb:
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/>
Aug 10 '06 #2
You can use Control.SetStyle with a style of ControlStyles.Selectable:

http://msdn2.microsoft.com/en-us/lib....setstyle.aspx

http://msdn2.microsoft.com/en-us/lib...rolstyles.aspx

followed by Control.UpdateStyles:

http://msdn2.microsoft.com/en-us/lib...atestyles.aspx

--
Hope this helps
Jay B. Harlow [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
<qu*********@hotmail.comwrote in message
news:7E**********************************@microsof t.com...
|
| how convert CanGetfocus From VB6 to VB.Net
|
| anywone, can help me?
| thanks.
Aug 10 '06 #3
Herfried,
I had to look it up also. ;-)

http://msdn.microsoft.com/library/de...usProperty.asp
--
Hope this helps
Jay B. Harlow [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
"Herfried K. Wagner [MVP]" <hi***************@gmx.atwrote in message
news:uf***************@TK2MSFTNGP05.phx.gbl...
| <qu*********@hotmail.comschrieb:
| 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/>
Aug 11 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much...
1
by: | last post by:
how convert CanGetfocus From VB6 to C#? anywone, can help me? thanks.
1
by: | last post by:
I'm trying to create a user control which cannot get focus, but is enabled. In VB6, I just set the CanGetFocus property to false, but I can't find the ..NET equivalent. The .NET CanFocus property...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.