Build 16.01 Menu Problem

Build 16.01 Menu Problem

Postby betoncu » Wed Feb 10, 2016 10:54 am

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,
Birol Betoncu
birol.betoncu@gmail.com
Using Harbour, FWH 19.05, BCC7
User avatar
betoncu
 
Posts: 126
Joined: Sat Oct 08, 2005 9:38 pm
Location: Cyprus (North)

Re: Build 16.01 Menu Problem

Postby cnavarro » Wed Feb 10, 2016 11:04 am

With Buid 1 or Build 2?
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6504
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Build 16.01 Menu Problem

Postby betoncu » Wed Feb 10, 2016 11:07 am

Build 2 (February 2016)
Birol Betoncu
birol.betoncu@gmail.com
Using Harbour, FWH 19.05, BCC7
User avatar
betoncu
 
Posts: 126
Joined: Sat Oct 08, 2005 9:38 pm
Location: Cyprus (North)

Re: Build 16.01 Menu Problem

Postby cnavarro » Wed Feb 10, 2016 11:13 am

With all styles? ( non style, 2007, 2010, 2013, 2015 )?
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6504
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Build 16.01 Menu Problem

Postby cnavarro » Wed Feb 10, 2016 12:09 pm

betoncu wrote:Build 2 (February 2016)


No I get reproduce the problem

Image

Image
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6504
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Build 16.01 Menu Problem

Postby betoncu » Wed Feb 10, 2016 12:45 pm

OK I will try to produce a self contained example.
Birol Betoncu
birol.betoncu@gmail.com
Using Harbour, FWH 19.05, BCC7
User avatar
betoncu
 
Posts: 126
Joined: Sat Oct 08, 2005 9:38 pm
Location: Cyprus (North)

Re: Build 16.01 Menu Problem

Postby cnavarro » Wed Feb 10, 2016 1:43 pm

Ok, thanks
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6504
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Build 16.01 Menu Problem

Postby Romeo » Wed Feb 10, 2016 4:33 pm

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
Romeo
 
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Re: Build 16.01 Menu Problem

Postby cnavarro » Wed Feb 10, 2016 4:53 pm

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
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6504
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Build 16.01 Menu Problem

Postby Romeo » Wed Feb 10, 2016 5:09 pm

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
Romeo
 
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Re: Build 16.01 Menu Problem

Postby cnavarro » Wed Feb 10, 2016 5:12 pm

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
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6504
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Build 16.01 Menu Problem

Postby betoncu » Tue Feb 16, 2016 1:22 pm

At the end I have found the problem.
This error occurs if I use SET EXACT ON at the beginning of my program
Birol Betoncu
birol.betoncu@gmail.com
Using Harbour, FWH 19.05, BCC7
User avatar
betoncu
 
Posts: 126
Joined: Sat Oct 08, 2005 9:38 pm
Location: Cyprus (North)

Re: Build 16.01 Menu Problem

Postby cnavarro » Tue Feb 16, 2016 1:37 pm

Ok, thanks
I will review the reason
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6504
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Build 16.01 Menu Problem

Postby cnavarro » Tue Feb 16, 2016 1:55 pm

I tested with SET EXACT ON and with SET EXACT OFF
I have not found any difference

Image

Image
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6504
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Build 16.01 Menu Problem

Postby betoncu » Tue Feb 16, 2016 4:46 pm

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
 
Birol Betoncu
birol.betoncu@gmail.com
Using Harbour, FWH 19.05, BCC7
User avatar
betoncu
 
Posts: 126
Joined: Sat Oct 08, 2005 9:38 pm
Location: Cyprus (North)

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 135 guests