Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 11th, 2006, 11:13 AM
Authorized User
 
Join Date: Aug 2006
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to amit_mande@yahoo.com Send a message via AIM to amit_mande@yahoo.com Send a message via MSN to amit_mande@yahoo.com Send a message via Yahoo to amit_mande@yahoo.com
Default Tell me following problem of lost focus

what is the way to know which button is clicked on lost focus of an text box?


 
Old November 13th, 2006, 12:42 PM
Friend of Wrox
 
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here is one way... I'd be interested in seeing other alternatives:

Put this in the Lost Focus of the text box:
Debug.WriteLine(Me.GetChildAtPoint(Me.PointToClien t(Me.Cursor.Position)).Name)

Woody Z http://www.learntoprogramnow.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Lost Focus of Dynamic Textfield dpkbahuguna Beginning VB 6 8 November 27th, 2007 01:03 AM
Form lost focus color change dthrun VB How-To 1 March 30th, 2007 10:41 PM
CommandBarComboBox problem: Text lost when combo b digambarborse Visual C++ 2005 0 January 15th, 2007 08:46 AM
Problem: Page Style lost annsary ASP.NET 1.0 and 1.1 Professional 1 April 19th, 2006 08:42 PM
calculate value on Lost Focus of text field creative_eye General .NET 1 April 12th, 2004 08:35 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.