473,386 Members | 1,819 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,386 software developers and data experts.

LostFocus events *never* fire

My app needs to use the LostFocus event on several different controls on a
form. Unfortunately, I got done coding it only to find out that none of
them ever fire. They are assigned to, and I'm sure I'm doing everything
right, but they're not working. Anyone else have this problem/know how to
fix it?

Chris LaJoie
Nov 15 '05 #1
2 2168
Try using the Leave event.

--
Michael Culley
"Chris LaJoie" <ch***@etriptrader.com> wrote in message news:O8**************@tk2msftngp13.phx.gbl...
My app needs to use the LostFocus event on several different controls on a
form. Unfortunately, I got done coding it only to find out that none of
them ever fire. They are assigned to, and I'm sure I'm doing everything
right, but they're not working. Anyone else have this problem/know how to
fix it?

Chris LaJoie

Nov 15 '05 #2
That works. Still don't understand why LostFocus doesn't though. Thanks.

Chris LaJoie

"Michael Culley" <mc*****@NOSPAMoptushome.com.au> wrote in message
news:eC*************@TK2MSFTNGP10.phx.gbl...
Try using the Leave event.

--
Michael Culley
"Chris LaJoie" <ch***@etriptrader.com> wrote in message

news:O8**************@tk2msftngp13.phx.gbl...
My app needs to use the LostFocus event on several different controls on a form. Unfortunately, I got done coding it only to find out that none of
them ever fire. They are assigned to, and I'm sure I'm doing everything
right, but they're not working. Anyone else have this problem/know how to fix it?

Chris LaJoie


Nov 15 '05 #3

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

Similar topics

3
by: Randi | last post by:
Hi All, I have a problem on a username password login form. I use: txtPassword.Text = StrConv(txtPassword.Text, vbProperCase) to validate the proper case when someone enters their name and...
4
by: dudzcom | last post by:
hi, this is the first time i've posted to this board, though i have been a devoted lurker for some time i have been working in vb.net and run into a couple problems that seem to require solutions...
2
by: Paul | last post by:
I have a datagrid tied to a data adapter. Everything works great, EXCEPT, the LostFocus event only fires when I click on a specific cell within the DataGrid. If I set focus on another control,...
0
by: Scott McChesney | last post by:
All - I am in the process of developing a custom control that mimics the Office 2003 "Inbox" as closely as possible. After a great deal of frustrating work trying to do a heavily custom-drawn...
2
by: Piotrekk | last post by:
Hi I need to use catch an event LostFocus, but its not visible in Evens list in Properties Window of Form1. Should i do it manually? How then? Tnanks PK
6
by: Carmon | last post by:
I am using Managed C++ with a CFormView and a MaskedTextBox and have used MAKE_DELEGATE to sink the LostFocus event of this control. I have other events I've sinked off this control and they all...
14
by: teddysnips | last post by:
WINDOWS FORMS I've a form that has a textbox that allows the user to enter a string. On the LostFocus event, the textbox formats the string into a preferred format. However, if the user...
0
by: kirk | last post by:
I started with a System.Windows.Forms.Form and subscribed to its LostFocus event. The event fires perfect. I added a System.Windows.Forms.LinkLabel to the aforementioned Form and tested the...
1
by: moondaddy | last post by:
I have a c# 3.5 wpf app which uses user controls for data entry screens. These data entry screens can be nested inside of each. We can also have several ones open side by side at the same time. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...

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.