No announcements
Found 712543 threads
-
0 Votes
focus on this textbox on event of LostFocus
I suggest using the Validating event for this purpose.Answered | 5 Replies | 4836 Views | Created by fsze88ATmeDOTcom - Sunday, June 24, 2012 2:24 PM | Last reply by fsze88ATmeDOTcom - Monday, June 25, 2012 7:28 AM -
4 Votes
Textbox LostFocus event
Under the created event of the screen find the control of the event.Answered | 23 Replies | 19043 Views | Created by Ray Cacciatore - Saturday, September 3, 2011 6:39 AM | Last reply by H Gupta - Friday, February 22, 2013 1:51 PM -
0 Votes
How to avoid lost focus of a control in LostFocus event?
As soon focus is lost , validation occurs .Answered | 5 Replies | 1998 Views | Created by Nagababu1234 - Monday, December 3, 2012 12:58 PM | Last reply by Sheldon _Xiao - Monday, December 24, 2012 10:51 AM -
1 Votes
Implement TextBox LostFocus event in WPF , MVVM
You could use Expression Blend interaction triggers and commands as described in my blog ...Answered | 2 Replies | 18974 Views | Created by RamanaBellary - Tuesday, March 11, 2014 9:52 AM | Last reply by Magnus (MM8) - Tuesday, March 11, 2014 10:05 AM -
0 Votes
UserControl with textbox - LostFocus not triggering
So long as it really does actually lose focus.Answered | 15 Replies | 2714 Views | Created by FuriousRage - Thursday, February 11, 2016 7:37 AM | Last reply by FuriousRage - Thursday, February 11, 2016 11:53 AM -
1 Votes
WPF - TextBox Validation and LostFocus
.Focus (otherControl): To set keyboard focus to other controls.Answered | 3 Replies | 25342 Views | Created by RobDev - Tuesday, April 14, 2009 1:05 PM | Last reply by RobDev - Thursday, April 16, 2009 12:30 PM -
2 Votes
Expandable textbox when in focus?
Hi, to change the Background, change the BackColor in the handlers for got/lost focus.Answered | 7 Replies | 1575 Views | Created by jfalberg - Monday, April 29, 2013 4:15 PM | Last reply by jfalberg - Tuesday, April 30, 2013 8:24 PM -
0 Votes
running into a loop on LostFocus event handled and usercontrol.OnPreviewGotKeyboardFocus event handled
What you want to do is swallow the LostFocus event if it's a result of setting the focus on your text box.Answered | 2 Replies | 4869 Views | Created by gajenderpal_live.com - Thursday, April 23, 2009 4:13 PM | Last reply by Brownie Points - Thursday, April 23, 2009 5:34 PM -
1 Votes
Set Focus on textbox after messagebox.show()
Place the code in ComboBox's Leave Event or Validated Event instead of LostFocus Event.Answered | 3 Replies | 6859 Views | Created by yft - Friday, March 5, 2010 6:18 AM | Last reply by DiegoCattaruzza - Friday, March 5, 2010 10:00 AM -
0 Votes
combobox lostfocus
another working solution for future visitors : ComboBox cb = (sender as ComboBox); cb.Loaded += delegate { TextBox ...Answered | 11 Replies | 2690 Views | Created by issam1975 - Monday, September 1, 2014 8:04 PM | Last reply by issam1975 - Friday, September 5, 2014 4:37 PM -
9 Votes
C# - Set Focus on TextBox - Which Event?
Since this is the load event of the form, the form itself needs to be brought into focus before the text box.Answered | 18 Replies | 162947 Views | Created by iHandler - Thursday, July 16, 2009 8:59 AM | Last reply by Gabriel Marius Popescu - Saturday, May 2, 2020 7:48 PM -
1 Votes
Textbox KeyDown Event to Change KeyPress
<Style Type="TextBox"> <EventSetter Event="LostFocus" Handler="TextBoxesLostFocus"/> ...Answered | 13 Replies | 7014 Views | Created by Jeffrey Cumpsty - Friday, September 25, 2009 2:13 PM | Last reply by Jeffrey Cumpsty - Monday, September 28, 2009 2:15 PM -
0 Votes
LostFocus not being call when the application bar icon gets clicked
Just disables AppBar until TextBox loses focus (and keyboard disappears). var focusedElement = FocusManager.GetFocusedElement() as TextBox; if (focusedElement !Answered | 3 Replies | 2648 Views | Created by Daniel U. _ - Tuesday, November 9, 2010 1:04 AM | Last reply by Faical - Saturday, November 24, 2012 9:53 AM -
0 Votes
DataGridView LostFocus Event
Corey, Which event handler are you using?Answered | 4 Replies | 9590 Views | Created by Corey Furman - Tuesday, April 17, 2012 9:18 PM | Last reply by Frank L. Smith - Wednesday, April 18, 2012 2:35 AM -
0 Votes
Textbox focus
You have to set the Canvas's Background to "Transparent", in order to make it receive mouse events.Answered | 4 Replies | 3993 Views | Created by ashley Williams - Friday, June 20, 2008 5:56 PM | Last reply by Mark Gu - Wednesday, June 25, 2008 11:27 PM -
2 Votes
how to disable mouse events on textboxes
And all events will not be fired.Answered | 2 Replies | 4467 Views | Created by srm_2010 - Thursday, July 14, 2011 12:06 PM | Last reply by Jie Bao - Tuesday, July 19, 2011 5:09 AM -
0 Votes
Using "Leave" event of the textbox
I think this will be beter use LostFocus Event Why, in my idea it does the same as the leave?Answered | 6 Replies | 2804 Views | Created by samyp - Tuesday, July 28, 2009 9:57 AM | Last reply by samyp - Tuesday, July 28, 2009 10:33 AM -
1 Votes
Problems passing focus to TextBox
I did put Me.ActiveControl = Me.MyTextBox in a method that clears the textbox and tries to set focus on the textbox.Answered | 8 Replies | 4946 Views | Created by Alan Edwards KAE - Thursday, November 17, 2011 8:55 PM | Last reply by Alan Edwards KAE - Monday, November 21, 2011 2:20 PM -
0 Votes
TextBox focus before Command
Please refer to the following thread for more information about this and an ...Answered | 4 Replies | 1377 Views | Created by avechuche - Friday, January 16, 2015 5:58 AM | Last reply by avechuche - Saturday, January 17, 2015 6:39 AM -
0 Votes
Textbox events don't work after changing Visibility
And I did not have any issues with it, the text box appeared, I can type in the text, fire the focus, but then I get infinite debugging focus on the LostFocus and ...Answered | 2 Replies | 2924 Views | Created by Murilo Curti - Sunday, August 5, 2012 3:24 PM | Last reply by Murilo Curti - Monday, August 6, 2012 1:56 PM - Items 1 to 20 of 712543 Next ›
No announcements