Popup-menu on XBROWSE

Popup-menu on XBROWSE

Postby byte-one » 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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Popup-menu on XBROWSE

Postby nageswaragunupudi » Wed Mar 22, 2017 3:04 pm

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

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

Re: Popup-menu on XBROWSE

Postby byte-one » Wed Mar 22, 2017 9: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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Popup-menu on XBROWSE

Postby nageswaragunupudi » Wed Mar 22, 2017 9: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
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Popup-menu on XBROWSE

Postby nageswaragunupudi » 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
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Popup-menu on XBROWSE

Postby byte-one » Thu Mar 23, 2017 10:01 am

Thanks, perfect information!
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: jmartial and 76 guests