FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Popup-menu on XBROWSE
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Popup-menu on XBROWSE
Posted: Wed Mar 22, 2017 12:20 PM

On which way i can show a popup-menu with a column with :nEdittype := EDIT_BUTTON

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Popup-menu on XBROWSE
Posted: Wed Mar 22, 2017 03:04 PM

oCol:bPopup should work. Is it not working or are you looking for something else?

Regards



G. N. Rao.

Hyderabad, India
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Popup-menu on XBROWSE
Posted: Wed Mar 22, 2017 09:29 PM

Thanks,
i will show a popup-menu with click on the button of :nEdittype := EDIT_BUTTON

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Popup-menu on XBROWSE
Posted: Wed Mar 22, 2017 09:36 PM

For this you can use oCol:bEditBlock.
When the button is clicked, this codeblock is evaluated with { |nrow,ncol,ocol,nkey| ...... }
You incorporate your popmenu display code inside this codeblock.

Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Popup-menu on XBROWSE
Posted: Wed Mar 22, 2017 10:09 PM

Another useful information for you
oBrw:aCellCoor() --> { nTop, nLeft, nBottom, nRight } of the current active cell.
This information can be used to align our dialogs, menus, etc.

Regards



G. N. Rao.

Hyderabad, India
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Popup-menu on XBROWSE
Posted: Thu Mar 23, 2017 10:01 AM

Thanks, perfect information!

Regards,
Günther
---------------------------------
office@byte-one.com

Continue the discussion