Print Page | Close Window

Dismissing a Dropdown Clears Selection

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=12784
Printed Date: 05 July 2024 at 4:11am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Dismissing a Dropdown Clears Selection
Posted By: mrmathis
Subject: Dismissing a Dropdown Clears Selection
Date Posted: 24 November 2008 at 3:53pm
Clicking outside a menu dropped from the ribbon clears the selection from my application.  I see the same behavior in the Ribbon sample, but not in Microsoft Word.
 
Here's how to see what I mean.  Run the ribbon sample and select some text (e.g. "I'm using your Report Control...").  Now, select the arrow beside the font size control in the ribbon.  Move the mouse down beside the dropdown to, say, somewhere around where it says "Customer Feedback" and click.  The drop menu is dismissed (good), but the selected text becomes unselected (bad).
 
Repeat this workflow with any document in MS Word.  Everything is the same except that the selected text stays selected.  My guess is that Codejock is not eating the click event after processing it, but instead is passing it along to the app, which interprets it as a clear-selection request.  Is there any way to mimic the Word behavior by making CJ eat the click?


-------------
--Mike



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