Problem in barmenu in FWH 20.12
Problem in barmenu in FWH 20.12
Hello,
Since I use FWH 20.12, my menuitems in my pulldownmenu's aren't working anymore. There is no reaction at all.
But when I go back to FWH 20.08, everything is working normally.
What has been changed?
Thank you.
Since I use FWH 20.12, my menuitems in my pulldownmenu's aren't working anymore. There is no reaction at all.
But when I go back to FWH 20.08, everything is working normally.
What has been changed?
Thank you.
Last edited by driessen on Fri Jan 08, 2021 3:13 pm, edited 2 times in total.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Re: Problem in barmenu in FWH 20.12
Please put little sample your command used for define barmenus
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.
Re: Problem in barmenu in FWH 20.12
Thank you for your reply.
It is not a small example. It's quite a huge one. But it runs just fine for many years now. I hope you can make something out of it.
It is not a small example. It's quite a huge one. But it runs just fine for many years now. I hope you can make something out of it.
Last edited by driessen on Tue Jan 05, 2021 4:00 pm, edited 2 times in total.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Re: Problem in barmenu in FWH 20.12
My God! I've never seen anything like this logic. Amazing. I understood nothing.
Regards.
Regards.
João Santos - São Paulo - Brasil
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Problem in barmenu in FWH 20.12
Dear Michel,
We did some changes in the menus in FWH 20.12 so obviously there is something to fix on our side
We apologize for these inconveniencies and we are going to publish a revised version asap
many thanks
We did some changes in the menus in FWH 20.12 so obviously there is something to fix on our side
We apologize for these inconveniencies and we are going to publish a revised version asap
many thanks
Re: Problem in barmenu in FWH 20.12
Antonio,
A very happy new year to you. Keep sound and safe.
Thanks a lot. I'm looking forward to the revision.
A very happy new year to you. Keep sound and safe.
Thanks a lot. I'm looking forward to the revision.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Re: Problem in barmenu in FWH 20.12
Does that happen with all styles? (none, 2007, 2010, 2013, 2015)
I could put an image or better a gif of your problem?
I could put an image or better a gif of your problem?
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.
Re: Problem in barmenu in FWH 20.12
No matter what I do, nothing happens if I make a choice in one of my menues.
I got the impression that Antonio knows what is wrong.
I got the impression that Antonio knows what is wrong.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Re: Problem in barmenu in FWH 20.12
Does this mean that you cannot perform any action from the menu items?
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.
Re: Problem in barmenu in FWH 20.12
Indeed, nothing happens. No reaction at all.
I added MsgInfo() before and behind the action that has to be performed.
Even not the Msginfo() do happen.
I added MsgInfo() before and behind the action that has to be performed.
Even not the Msginfo() do happen.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
- RAMESHBABU
- Posts: 591
- Joined: Fri Oct 21, 2005 5:54 am
- Location: Secunderabad (T.S), India
Re: Problem in barmenu in FWH 20.12
I am also using 20.12, My application's pulldown menus or buttonbars are working normally like the way they wereSince I use FWH 20.12, my menuitems in my pulldownmenu's aren't working anymore. There is no reaction at all.
But when I go back to FWH 20.08, everything is working normally.
working in previous verions.
This is Just for your information.
-Ramesh Babu P
Re: Problem in barmenu in FWH 20.12
Ramesh Babu, Thanks for the info.
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.
Re: Problem in barmenu in FWH 20.12
Hi Mr. Navarro,driessen wrote:Indeed, nothing happens. No reaction at all.
I added MsgInfo() before and behind the action that has to be performed.
Even not the Msginfo() do happen.
I confirm the error. it is same for me in fwh 20.12.
Code: Select all
MENU oFaizMenu POPUP 2007
MENUITEM "Parametreler" ACTION Parametre_FAIZ()
SEPARATOR
---->>> this part
FOR hh:=1 TO 19
hhh:="oApp:GParam:xADI_"+ALLTRIM(STR(hh))
hhh1 := ALLTRIM(&hhh)
IF !EMPTY(Hhh1)
MENUITEM hhh1 BLOCK GenBlock_Faiz(hh)
ENDIF
Next hh
----> this part
SEPARATOR
MENUITEM "YENİ FAİZLER" ACTION Faizler() //Parametre_FAIZ()
SEPARATOR
MENUITEM "Faiz Güncelleme (EVDS)" ACTION Faiz_Update()
ENDMENU
Code: Select all
FUNCTION GenBlock_Faiz(nhh)
LOCAL cProc := "Faiz"+ALLTRIM(STR(nhh))
RETURN {|| &(cProc)() }
Regards,
Hakan ONEMLI
Harbour & VS 2019 & FWH 20.12
Hakan ONEMLI
Harbour & VS 2019 & FWH 20.12
Re: Problem in barmenu in FWH 20.12
Replace METHOD Command in Class TMenu with this and try
( My apologies, I forgot to update the MENU.PRG file in the repository )
Sample
( My apologies, I forgot to update the MENU.PRG file in the repository )
Code: Select all
//----------------------------------------------------------------------------//
METHOD Command( nCommand ) CLASS TMenu
local oMenuItem := ::GetMenuItem( nCommand )
if oMenuItem != nil
if oMenuItem:lRadio
oMenuItem:SetRadioMenuItem( nCommand )
else
if ::lUserRadio
if lAnd( GetMenuState( ::hMenu, nCommand, MF_BYCOMMAND ), MF_CHECKED )
oMenuItem:SetCheck( .F. )
else
oMenuItem:SetCheck( .T. )
endif
endif
endif
if ValType( oMenuItem:bAction ) == "B"
if oMenuItem:bWhen != nil .and. ! Eval( oMenuItem:bWhen, oMenuItem )
return nil
endif
::oLastItem = oMenuItem
if ::lPopup
::oMenuItemPopup = oMenuItem
else
if oMenuItem:bAction != nil
if ValType( oMenuItem:bBlock ) == "B"
Eval( oMenuItem:bBlock, oMenuItem )
endif
Eval( oMenuItem:bAction, oMenuItem )
else
if ValType( oMenuItem:bBlock ) == "B"
Eval( oMenuItem:bBlock, oMenuItem )
endif
Eval( oMenuItem:OnClick, ::oWnd, oMenuItem )
endif
endif
else
if ValType( oMenuItem:bBlock ) == "B"
if oMenuItem:bWhen != nil .and. ! Eval( oMenuItem:bWhen, oMenuItem )
return nil
endif
::oLastItem = oMenuItem
if ::lPopup
::oMenuItemPopup = oMenuItem
endif
Eval( oMenuItem:bBlock, oMenuItem )
endif
endif
endif
return nil
//----------------------------------------------------------------------------//
Code: Select all
#include "Fivewin.ch"
Function Main()
local oWnd
local oMnu
DEFINE WINDOW oWnd ;
TITLE "Test Menu" + " - Ver.: " + FWVERSION + if( IsExe64(), ;
" ( 64", " ( 32" ) + " bits ) - " + FWString( "User" ) + ;
": " + WNetGetUser() + " - " + hb_Compiler() ;
MENU ( oMnu := MenuTest() )
ACTIVATE WINDOW oWnd MAXIMIZED
Return nil
Function MenuTest()
local oMnu
MENU oMnu 2007
MENUITEM "One"
MENU
MENUITEM "First" BLOCK { || MsgInfo( "Hello" ) }
SEPARATOR
MENUITEM "Two" ACTION MsgInfo( "Bye" )
ENDMENU
ENDMENU
Return oMnu
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.
Re: Problem in barmenu in FWH 20.12
Hi,
Is it possible to mail related lib file for fwh 20.12?
hakan @ objekt . com . tr
Is it possible to mail related lib file for fwh 20.12?
hakan @ objekt . com . tr
Regards,
Hakan ONEMLI
Harbour & VS 2019 & FWH 20.12
Hakan ONEMLI
Harbour & VS 2019 & FWH 20.12