Also for popup menu RESOLVED

Also for popup menu RESOLVED

Postby Silvio.Falconi » Tue Jun 26, 2018 8:47 am

oSpiaggia is the dialog

Code: Select all  Expand view
 oPanel:= TPanel():New(40,2,400,400,oSpiaggia)
             oPanel:SetBrush(oBrush1)
             oSpiaggia:oclient:=oPanel

             oPanel:bRClicked = { | nRow, nCol, nFlags |  ShowPopup( oPanel, nRow, nCol ) }

Function ShowPopup( oPanel, nRow, nCol )


             local oMenu
    MENU oMenu POPUP   2007


   MENUITEM "&Stampa Foglio Bagnino"  NAME "FOGLIO_BAGNINO"  ACTION NIL // foglio(oApp:oDlg)
  * MENUITEM "&Uscita Planning" action (oApp():oDlg:End(), oBarPre:END(), oApp:oBar:show())
   MENUITEM "&Statistica " action  NIL

   SEPARATOR

   MENUITEM "&Cerca un cliente"  NAME "FOGLIO_BAGNINO"  ACTION NIL

   ENDMENU

ACTIVATE POPUP oMenu OF oPanel AT nRow, nCol

RETURN( NIL )



I not see the popup why ?
Last edited by Silvio.Falconi on Mon Jul 02, 2018 10:31 am, edited 1 time in total.
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7057
Joined: Thu Oct 18, 2012 7:17 pm

Re: Also for popup menu

Postby cnavarro » Tue Jun 26, 2018 9:38 am

Try with

ACTIVATE MENU oMenu AT nRow, nCol OF oPanel
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Also for popup menu

Postby Silvio.Falconi » Mon Jul 02, 2018 10:31 am

resolved cris
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7057
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 114 guests