xBrowse bPopup does not run when browse is empty. (SOLVED)

xBrowse bPopup does not run when browse is empty. (SOLVED)

Postby Horizon » Wed Dec 30, 2020 8:49 am

Hi,

I use oBrw:bPopup to declare popup screen in xbrowse. If the browse is not empty there is not any problem. Popup shows.

But I have an empty xbrowse and want to show popup for "Paste" option.

How can I do it?
Last edited by Horizon on Sat Jan 02, 2021 8:49 am, edited 1 time in total.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: xBrowse bPopup does not run when browse is empty.

Postby Horizon » Wed Dec 30, 2020 5:22 pm

any solution??
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: xBrowse bPopup does not run when browse is empty.

Postby Horizon » Fri Jan 01, 2021 5:16 pm

:roll:
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: xBrowse bPopup does not run when browse is empty.

Postby nageswaragunupudi » Fri Jan 01, 2021 7:08 pm

In the present implementation, oBrw:bPopUp is designed to refer to an active cell, i.e., active row and selected column. So this does not work when there are no rows.

If you want a PopUP menu that does not refer to any specific row, then you may implement by displaying a popup with oBrw:bRClicked.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10622
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xBrowse bPopup does not run when browse is empty.

Postby Horizon » Sat Jan 02, 2021 8:49 am

Thank you Mr. Rao,

I is ok now.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 62 guests