Print Page | Close Window

Bad autohide popup

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=9282
Printed Date: 08 October 2024 at 10:45am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Bad autohide popup
Posted By: bozena
Subject: Bad autohide popup
Date Posted: 11 January 2008 at 5:16am
Hi,

i checked your DynamicPopus sample application and in my application i used your code for displaying another form object as a popup (in your case it is picturebox with two checkboxes).

For my app, i used also picturebox, but i put there combobox. It contains lots of datas. When i click commandbar button, it shows this popus correctly.

When combo's button is clicked, it drops list of values there. This list's height is bigger than height of that picturebox i used for displaying popup.

When im moving in that dropped list of combo, its ok, until i wont use mouse. Clicking on slider, which part is outside of popup control causes closing popup, but combo is still visible.

I would like to have popup showed until i click on close button that is also on that popup control (like in your sample). Is that possible ?

Thanx

Peter



Replies:
Posted By: Aaron
Date Posted: 05 February 2008 at 6:59am
Hi,
 
I tried doing the same with popups but I noticed as long the popup has focus, the popup is shown. I think mouse events aren't properly handled when the popup has the focus. Sometimes when scrolling the combo items the popup disappears and only the combobox will be visible??? The same thing will happen when using the colorpicker and maybe more controls???.
 
If you are going to use the combobox in the popup you could resize the popup to the same height as the combobox dropdown height. In this case the mousepointer won't leave the popup area.
 
It would be great when this feature would work properly, but it doesn't, at least not for me. And if we are doing something wrong we would like support, Right? Maybe you can rewrite your code and use a commandbar for this and use seperate buttons for each option . I did the same and this working properly, at least until now.
 



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