
MENUITEM with BLOCK command executed TWICE. (SOLVED)
- Antonio Linares
- Site Admin
- Posts: 42604
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 44 times
- Been thanked: 88 times
- Contact:
Re: MENUITEM with BLOCK command executed TWICE.
Dear Hakan,
In menu.prg please make these changes: (in the "else")
line 1574:
Your example works fine with these changes
These changes will be included in the next FWH build
In menu.prg please make these changes: (in the "else")
line 1574:
Code: Select all | Expand
if ::lPopup
::oMenuItemPopup = oMenuItem
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
Your example works fine with these changes
These changes will be included in the next FWH build
Re: MENUITEM with BLOCK command executed TWICE.
Antonio Linares wrote:Dear Hakan,
In menu.prg please make these changes: (in the "else")
line 1574:Code: Select all | Expand
if ::lPopup
::oMenuItemPopup = oMenuItem
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
Your example works fine with these changes
These changes will be included in the next FWH build
Hi Antonio,
I use unmodifed fwh libs. Can you please send me change libs.
Thank you.
Regards,
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
- Antonio Linares
- Site Admin
- Posts: 42604
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 44 times
- Been thanked: 88 times
- Contact:
- Antonio Linares
- Site Admin
- Posts: 42604
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 44 times
- Been thanked: 88 times
- Contact: