Hi to all,
i got problem in new release FWH 15.12 and Harbour 3.2.0dev (r1601050904)
You can see di problem using the TESTMENU.PRG in samples dir of Fwin
It seems not working when use file BMP in MENUITEM:
Example
MENUITEM FILE "..\BITMAPS\END.BMP" MESSAGE "BLA BLA" action oWnd:End()
*DOES NOT Work !! if you click on it, it does NOTHING
but if i change it into:
MENUITEM PROPT "EXIT" MESSAGE "BLA BLA" action oWnd:End()
IT Works well
Any help ?
tks
MENUITEM problem
Re: MENUITEM problem
Thanks, we will see shortly
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: MENUITEM problem
MENUITEM FILE "..\BITMAPS\END.BMP" MESSAGE "BLA BLA" action oWnd:End()
the syntax is wrong
menuitem want a say as
MENUITEM "Specificare la stampante"
file "MENU.bmp" ;
ACTION PrinterSetup() ;
MESSAGE "bla bla "
if you use a variable sample oItem
menuitem oItem Prompt " blabla" ;
file "MENU.bmp" ;
ACTION PrinterSetup() ;
MESSAGE "bla bla "
the file testmenu.prg here run ok
you can use also
MENUITEM FILE "..\bitmaps\print.bmp" MESSAGE "Funciona ? Shift-F2" ;
ACTION MsgInfo( "Hello, I am a Girl!" )
here the menuItem
MENUITEM FILE "..\bitmaps\End.bmp" MESSAGE "Bye, bye... -F2-" ;
ACTION oWnd:End() ;
ACCELERATOR 0, VK_F2
run ok ( fwh16.02)
the syntax is wrong
menuitem want a say as
MENUITEM "Specificare la stampante"
file "MENU.bmp" ;
ACTION PrinterSetup() ;
MESSAGE "bla bla "
if you use a variable sample oItem
menuitem oItem Prompt " blabla" ;
file "MENU.bmp" ;
ACTION PrinterSetup() ;
MESSAGE "bla bla "
the file testmenu.prg here run ok
you can use also
MENUITEM FILE "..\bitmaps\print.bmp" MESSAGE "Funciona ? Shift-F2" ;
ACTION MsgInfo( "Hello, I am a Girl!" )
here the menuItem
MENUITEM FILE "..\bitmaps\End.bmp" MESSAGE "Bye, bye... -F2-" ;
ACTION oWnd:End() ;
ACCELERATOR 0, VK_F2
run ok ( fwh16.02)
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Re: MENUITEM problem
I am using the FWH 8.10 from years and normally i used without problem:
MENUITEM FILE "myimage.bmp" MESSAGE "Ciao" ACTION MsgInfo( "Ciao") && see TESTMENU.PRG in SAMPLES dir
A few days ago i upgrade FWH 8.10 to FWH 15.12, but the above LINE does not work, it works only if i put also SAY:
MENUITEM "Ciao" FILE "myimage.bmp" MESSAGE "Ciao" ACTION MsgInfo( "Ciao")
But it is not what i need, it seems a problem of my release.
If you say that the FWH 16.02 relase is ok, it means the 15.12 is a little "fake"
I hope Antonio give me upgrade to it. i bought the FWH 15.12 on Genuary/2016
Tks
R
MENUITEM FILE "myimage.bmp" MESSAGE "Ciao" ACTION MsgInfo( "Ciao") && see TESTMENU.PRG in SAMPLES dir
A few days ago i upgrade FWH 8.10 to FWH 15.12, but the above LINE does not work, it works only if i put also SAY:
MENUITEM "Ciao" FILE "myimage.bmp" MESSAGE "Ciao" ACTION MsgInfo( "Ciao")
But it is not what i need, it seems a problem of my release.
If you say that the FWH 16.02 relase is ok, it means the 15.12 is a little "fake"
I hope Antonio give me upgrade to it. i bought the FWH 15.12 on Genuary/2016
Tks
R
Re: MENUITEM problem
I resolved the problem, upgrading to FWH 16.01
tks all
tks all