473,394 Members | 2,071 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,394 software developers and data experts.

form.focus() event

Can some one tell me which event will be fired when we say
form.focus() in C# .NET 2008?

I tried Activated, Load and Enter. But it did not fire.

Please let me know.

THanks
Aug 26 '08 #1
3 3955
Try GotFocus.

--
Phil Wilson
Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972
<Am***********@gmail.comwrote in message
news:f0**********************************@d45g2000 hsc.googlegroups.com...
Can some one tell me which event will be fired when we say
form.focus() in C# .NET 2008?

I tried Activated, Load and Enter. But it did not fire.

Please let me know.

THanks

Aug 26 '08 #2
There is no GotFocus or related even in C# VS.NET 2008. Any help
please?

THanks

On Aug 26, 4:32*pm, "Phil Wilson"
<phil.wil...@wonderware.something.comwrote:
Try GotFocus.

--
Phil Wilson
Definitive Guide to Windows Installerhttp://www.apress.com/book/view/1590592972

<Amritha.Da...@gmail.comwrote in message

news:f0**********************************@d45g2000 hsc.googlegroups.com...
Can some one tell me which event will be fired when we say
form.focus() in C# .NET 2008?
I tried Activated, Load and Enter. But it did not fire.
Please let me know.
THanks
Aug 26 '08 #3
Making the assumption that your reference to a form means you have a Windows
Forms form class, it's this:

http://msdn.microsoft.com/en-us/libr...us(VS.80).aspx

If this is not what you need then supply more detail about what you're
trying to do.

--
Phil Wilson
Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972
<Am***********@gmail.comwrote in message
news:fd**********************************@m36g2000 hse.googlegroups.com...
There is no GotFocus or related even in C# VS.NET 2008. Any help
please?

THanks

On Aug 26, 4:32 pm, "Phil Wilson"
<phil.wil...@wonderware.something.comwrote:
Try GotFocus.

--
Phil Wilson
Definitive Guide to Windows
Installerhttp://www.apress.com/book/view/1590592972

<Amritha.Da...@gmail.comwrote in message

news:f0**********************************@d45g2000 hsc.googlegroups.com...
Can some one tell me which event will be fired when we say
form.focus() in C# .NET 2008?
I tried Activated, Load and Enter. But it did not fire.
Please let me know.
THanks

Aug 29 '08 #4

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

Similar topics

15
by: Steve | last post by:
I have a form with about 25 fields. In the BeforeUpdate event of the form, I have code that sets the default value of each field to its current value. For a new record, I can put the focus in any...
13
by: Manuel Lopez | last post by:
I have a puzzling form timer problem that I didn't experience prior to Access 2003 (though I'm not sure access 2003 is to blame). Here's the situation: a computer has two access 2003 databases on...
17
by: Neil Ginsberg | last post by:
OK, this is a stupid thing, but I can't seem to get this to work. I have a form with a subform (in continuous form view). A combo box on the main form has code in the AfterUpdate event which adds a...
8
by: Zlatko Matić | last post by:
There is a form (single form) and a combobox. I want that current record of the form is adjusted according to selected value in the combobox. Cuurrent record should be the same as the value in the...
2
by: Vinny | last post by:
I'm writing a small ASP program which prompts the user for data. I would like to interactively validate the data as they are entering it, rather than waiting until they submit the form. So, I am...
2
by: Vinny | last post by:
A customer wants me to convert a VB app I wrote for them into a web app for remote users to do data entry. So, I'm writing a small ASP program which prompts the user for data, much like a VB...
4
by: Steve | last post by:
I would like to write a routine that will monitor every focus change on the form and report the name of the control that got focus. I know I could put code in the gotfocus event of every control...
7
by: Pygmalion | last post by:
Hello experts, I want to use Form_Keydown event in my program. However, it turns out that one of the form controls is always in focus, so Form_Keydown event is never invoked. I tried to set...
11
by: Zytan | last post by:
I have created a new form from the main form. When I close the main form with the 'x' close button, its Form.FormClosed event is run, but not the dialog's. Is this normal? It is ok /...
2
by: Joergen Bech | last post by:
Hope someone has a solution or some suggestions for this. This cannot be right?!? Problem: I have multiple non-modal forms open at the same time. One or more of these forms have a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.