FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Build 16.01 Menu Problem
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Build 16.01 Menu Problem
Posted:

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
Posts: 130
Joined: Sat Oct 08, 2005 09:38 PM
Build 16.01 Menu Problem
Posted: 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.


Win 7 and Win 10 there is no problem


Best regards,
Birol Betoncu
birol.betoncu@gmail.com
Using Harbour, FWH 19.05, BCC7
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Build 16.01 Menu Problem
Posted: 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
Posts: 130
Joined: Sat Oct 08, 2005 09:38 PM
Re: Build 16.01 Menu Problem
Posted: Wed Feb 10, 2016 11:07 AM

Build 2 (February 2016)

Birol Betoncu
birol.betoncu@gmail.com
Using Harbour, FWH 19.05, BCC7
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Build 16.01 Menu Problem
Posted: 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
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Build 16.01 Menu Problem
Posted: Wed Feb 10, 2016 12:09 PM
betoncu wrote:Build 2 (February 2016)


No I get reproduce the problem



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
Posts: 130
Joined: Sat Oct 08, 2005 09:38 PM
Re: Build 16.01 Menu Problem
Posted: 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
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Build 16.01 Menu Problem
Posted: Wed Feb 10, 2016 01: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
Posts: 340
Joined: Thu Jan 25, 2007 03:53 PM
Re: Build 16.01 Menu Problem
Posted: Wed Feb 10, 2016 04: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

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Build 16.01 Menu Problem
Posted: Wed Feb 10, 2016 04: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
Posts: 340
Joined: Thu Jan 25, 2007 03:53 PM
Re: Build 16.01 Menu Problem
Posted: Wed Feb 10, 2016 05: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
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Build 16.01 Menu Problem
Posted: Wed Feb 10, 2016 05: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
Posts: 130
Joined: Sat Oct 08, 2005 09:38 PM
Re: Build 16.01 Menu Problem
Posted: Tue Feb 16, 2016 01: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
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Build 16.01 Menu Problem
Posted: Tue Feb 16, 2016 01:55 PM
I tested with SET EXACT ON and with SET EXACT OFF
I have not found any difference



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
Posts: 130
Joined: Sat Oct 08, 2005 09:38 PM
Re: Build 16.01 Menu Problem
Posted: Tue Feb 16, 2016 04:46 PM
I have sent a sample below.

Code (fw): Select all Collapse
#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