Print Page | Close Window

CommandBar lost focus event

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=8941
Printed Date: 21 December 2024 at 10:20pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CommandBar lost focus event
Posted By: SReedie
Subject: CommandBar lost focus event
Date 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



Replies:
Posted By: Oleg
Date Posted: 29 November 2007 at 1:37am
Hi,
just check if parameter is null in ControlSelected event


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: SReedie
Date Posted: 29 November 2007 at 8:31am
Nice one, thanks Oleg.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net