![]() |
Get Focus |
Post Reply ![]() |
Author | |
emailstomark ![]() Newbie ![]() Joined: 11 August 2007 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() Posted: 01 April 2008 at 3:31am |
Hello
In the attached example the first text box checks to see if the value in the text box is numeric when it loses focus.
What I would like is how to make the CommandBar get focus, so that the text box lost focus event will trigger. This is only an example, as the value could be verified in many ways, but I need to have validation when the textbox loses focus, but the CommandBar doesn’t seem to have a “Get focus property”, or better still a get focus property on a single control in the CommandBar. If anyone has come across this before and solved it I would be very grateful for you advice Thanks |
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
Hi,
You can set the focus to any button in commandbars but it doesn't really get the focus, when returning to the form the textbox has the focus again.
Maybe you can use the commandbar EDIT control instead. When saving the customer the update event fires. Here you can detemine if the value is numeric.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |