CommandBar lost focus event |
Post Reply |
Author | |
SReedie
Newbie Joined: 19 November 2007 Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 28 November 2007 at 11:28am |
When a statusbar is linked to a commandbar and you mouse over any controls in the commandbar the control's DescriptionText property is displayed in the statusbar's IdleText property. So for my MDI form when a user puts the mouse over a commandbar control in a child form I use the ControlSelected event to pass through the control's DescriptionText property to the MDI form statusbar IdleText. The problem I am having is when you move the mouse off the commandbar the IdleText is still set (which is correct as the statusbar belongs to a different form).
I wanted to be able to trap when a user moves the mouse off a commandbar control, I have tried the TrackingModeChanged event but it doesn't fire when an individual control loses focus.
Is there an event that will do this?
Reedie
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
just check if parameter is null in ControlSelected event
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
SReedie
Newbie Joined: 19 November 2007 Status: Offline Points: 8 |
Post Options
Thanks(0)
|
Nice one, thanks Oleg.
|
|
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 |