FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour get bitmap action or button
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
get bitmap action or button
Posted: Thu May 21, 2015 07:59 PM

can a get ...bitmap...action ... or a button call a menu popup ?
do you have a simply test please ?

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: get bitmap action or button
Posted: Fri May 22, 2015 07:53 AM
Silvio,

Code (fw): Select all Collapse
#include "FiveWin.ch"

function Main()

   local oDlg, cTest := Space( 20 )

   DEFINE DIALOG oDlg

   @ 2, 2 GET cTest ACTION ShowPopup( oDlg )

   ACTIVATE DIALOG oDlg CENTERED

return nil

function ShowPopup( oDlg )

   local oMenu
   
   MENU oMenu POPUP 
      MENUITEM "One"
      MENUITEM "Two"
      MENUITEM "Three"
   ENDMENU          
    
   ACTIVATE POPUP oMenu OF oDlg AT 100, 100

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: get bitmap action or button
Posted: Fri May 22, 2015 08:00 AM

Sorry Antonio,
But I saw I was "Pirla" (italian Language) "Idiot" on English.....
Perhaps i am very Old!! :)

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 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

Continue the discussion