Page 1 of 1

Popup-menu on XBROWSE

PostPosted: Wed Mar 22, 2017 12:20 pm
by byte-one
On which way i can show a popup-menu with a column with :nEdittype := EDIT_BUTTON

Re: Popup-menu on XBROWSE

PostPosted: Wed Mar 22, 2017 3:04 pm
by nageswaragunupudi
oCol:bPopup should work. Is it not working or are you looking for something else?

Re: Popup-menu on XBROWSE

PostPosted: Wed Mar 22, 2017 9:29 pm
by byte-one
Thanks,
i will show a popup-menu with click on the button of :nEdittype := EDIT_BUTTON

Re: Popup-menu on XBROWSE

PostPosted: Wed Mar 22, 2017 9:36 pm
by nageswaragunupudi
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.

Re: Popup-menu on XBROWSE

PostPosted: Wed Mar 22, 2017 10:09 pm
by nageswaragunupudi
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.

Re: Popup-menu on XBROWSE

PostPosted: Thu Mar 23, 2017 10:01 am
by byte-one
Thanks, perfect information!