FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour RibbonBar Popup
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
RibbonBar Popup
Posted: Sun Aug 15, 2010 08:09 PM

How to close a popup window with the mouse?
(ESC is working )
Thanks in advance
Otto

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: RibbonBar Popup
Posted: Mon Aug 16, 2010 04:30 AM

Otto,

Usually, you just click outside the popup.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: RibbonBar Popup
Posted: Mon Aug 16, 2010 06:35 AM

Dear James,

thank you. I looked how Office 2010 handles this.
If you click again while the popup is opened on the button which opened the popup then the popup closes.
The problem is if you click on another button outside this may execute immediately an action you don’t want.
As a workaround you can right click on the button for closing. But I don’t think this is what users will do.

Best regards,
Otto

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: RibbonBar Popup
Posted: Tue Sep 14, 2010 09:13 PM

Hello Antonio,
Would you be so kind to provide a solution for this problem.
Thanks in advance
Otto

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: RibbonBar Popup
Posted: Wed Sep 15, 2010 05:58 AM
Code (fw): Select all Collapse
As a workaround you can right click on the button for closing. But I don’t think this is what users will do.

Another work around:
At the end of each popup menu, you include a separator and prompt 'Close' without any action.
Clicking on 'Close' closes the popup.
Regards



G. N. Rao.

Hyderabad, India
Posts: 332
Joined: Thu Nov 17, 2005 09:11 PM
Re: RibbonBar Popup
Posted: Wed Sep 15, 2010 03:44 PM

Otto, do you solve or have a problem of a button in ribbon? if the button have a popup menu, popup appears ok after click but if you click outsite or another group and turn to clic again the popup don't show, to show i have do click again (2 clicks).

Thanks in advance.

Wanderson.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: RibbonBar Popup
Posted: Mon Sep 27, 2010 08:12 AM
Otto,

With these changes in Class TRBtn, th popup is toggled shown:

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion