Page 1 of 2

Build 16.01 Menu Problem

PostPosted: Wed Feb 10, 2016 10:54 am
by betoncu
After I switched to build 16.01, I have noticed the problem shown below.
Menu items are nested as you see.

This problem occurs only on Win XP machines.
Image

Win 7 and Win 10 there is no problem
Image

Best regards,

Re: Build 16.01 Menu Problem

PostPosted: Wed Feb 10, 2016 11:04 am
by cnavarro
With Buid 1 or Build 2?

Re: Build 16.01 Menu Problem

PostPosted: Wed Feb 10, 2016 11:07 am
by betoncu
Build 2 (February 2016)

Re: Build 16.01 Menu Problem

PostPosted: Wed Feb 10, 2016 11:13 am
by cnavarro
With all styles? ( non style, 2007, 2010, 2013, 2015 )?

Re: Build 16.01 Menu Problem

PostPosted: Wed Feb 10, 2016 12:09 pm
by cnavarro
betoncu wrote:Build 2 (February 2016)


No I get reproduce the problem

Image

Image

Re: Build 16.01 Menu Problem

PostPosted: Wed Feb 10, 2016 12:45 pm
by betoncu
OK I will try to produce a self contained example.

Re: Build 16.01 Menu Problem

PostPosted: Wed Feb 10, 2016 1:43 pm
by cnavarro
Ok, thanks

Re: Build 16.01 Menu Problem

PostPosted: Wed Feb 10, 2016 4:33 pm
by Romeo
I confirm the problem

FWH 16.01 MENUITEMs is different from previous version.

I wanted insert image here, but i dont know how to do !

Can any hel me ?

I tried to click on IMG button,, and then ??




Suppose my image in on my HD in C:\FWERR\IMAME.JPG

What is the correct sintax of ?

tks

Re: Build 16.01 Menu Problem

PostPosted: Wed Feb 10, 2016 4:53 pm
by cnavarro
No
Consider using a hosting service images
I use http://postimage.org/ (free)
Upload an image and then select Link for forums (1) -> Copy to Clipboard

And paste in your message forum

Re: Build 16.01 Menu Problem

PostPosted: Wed Feb 10, 2016 5:09 pm
by Romeo
K tks

Here is the old release:

http://postimg.org/image/hjul5v8sh/


Heare is the new release:

http://postimg.org/image/gvlqmxa2p/

See the difference !

Hi

Re: Build 16.01 Menu Problem

PostPosted: Wed Feb 10, 2016 5:12 pm
by cnavarro
Romeo wrote:K tks

Here is the old release:

http://postimg.org/image/hjul5v8sh/


Heare is the new release:

http://postimg.org/image/gvlqmxa2p/

See the difference !

Hi


In postimage.org
Instead, use the button

Direct link for Forums (1) -> Copy to Clipboard

For your problem
It can provide a small example?
Thanks

Re: Build 16.01 Menu Problem

PostPosted: Tue Feb 16, 2016 1:22 pm
by betoncu
At the end I have found the problem.
This error occurs if I use SET EXACT ON at the beginning of my program

Re: Build 16.01 Menu Problem

PostPosted: Tue Feb 16, 2016 1:37 pm
by cnavarro
Ok, thanks
I will review the reason

Re: Build 16.01 Menu Problem

PostPosted: Tue Feb 16, 2016 1:55 pm
by cnavarro
I tested with SET EXACT ON and with SET EXACT OFF
I have not found any difference

Image

Image

Re: Build 16.01 Menu Problem

PostPosted: Tue Feb 16, 2016 4:46 pm
by betoncu
I have sent a sample below.

Code: Select all  Expand view

#include "FiveWin.ch"

static oWnd

function Main()

   set exact on

   DEFINE WINDOW oWnd FROM 1, 5 TO 20, 70 ;
          TITLE "Testing Menus" ;
          MDI ;
          MENU BuildMenu()

   SET MESSAGE OF oWnd TO FWVERSION + " - Menu Management Power" 2015

   ACTIVATE WINDOW oWnd

return nil



function BuildMenu()
local oMenu

   MENU oMenu 2015

       MENUITEM "&Sigorta"
       MENU
          MENUITEM "Poliçe Menüsü-1" ACTION MsgInfo(1)
          MENUITEM "Poliçe Menüsü-2" ACTION MsgInfo(2)
       ENDMENU

       MENUITEM "&Muhasebe"
       MENU
          MENUITEM "Döviz Kurları" ACTION MsgInfo(3)
          MENUITEM "Hesap Planı"   ACTION MsgInfo(4)
       ENDMENU

       MENUITEM "&Hasarlar"
       MENU
          MENUITEM "Döviz Kurları" ACTION MsgInfo(3)
          MENUITEM "Hesap Planı"   ACTION MsgInfo(4)
       ENDMENU

       MENUITEM "&Raporlar"
       MENU
          MENUITEM "Döviz Kurları" ACTION MsgInfo(3)
          MENUITEM "Hesap Planı"   ACTION MsgInfo(4)
       ENDMENU

       MENUITEM "So&me more"
       MENU
          MENUITEM "Döviz Kurları" ACTION MsgInfo(3)
          MENUITEM "Hesap Planı"   ACTION MsgInfo(4)
       ENDMENU

   ENDMENU

return oMenu