LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Removing panel popup on a click outside that popup panel area

Hello All.

 

In my project I am installing popup up on picture ring mouse click event such that it just popups below my picture ring just like a drop down menu. I want to remove that popup on an mouse click just outside that popup panel area just to mimic the operation of dropdown. What can be the way of doing this I have tried using an event EVENT_LOST_FOCUS but its not working? Please find the attached project having screenshot too.

 

Thanks & Regards.
Moshi.

0 Kudos
Message 1 of 2
(2,767 Views)

Hi Moshi,

 

1) It's a bit inappropriate to upload a huge file just for 4 kB of source code... What are we supposed to do with 2 MB of your debug information (the *.dbg file), for example?

 

2) Actually, your question can be answered without going through your files: by definition, a popup panel is modal. If you have a look at the help file (operationg popup panels), you will see that "When a pop-up panel is active it appears in the foreground and is the only panel or pop-up the user can operate." I would translate this sentence as follows: You cannot click just outside the popup panel, as you want to...

 

3) Concerning this and your earlier posts (most of them 'urgent'...), it would be a) polite and b) useful for others if you could mark solved questions as solved Smiley Wink

 

4) A possible alternative to using your popup panel approach might be to use a popup menu ring; it could be hidden behind your picture ring and only be shown if needed

 

0 Kudos
Message 2 of 2
(2,761 Views)