Bug in TMenu [Fixed]

Post Reply
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Bug in TMenu

Post by Antonio Linares »

Enrico,

We are checking it, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Bug in TMenu

Post by Enrico Maria Giordano »

I just also noticed that, in the normal conditions, the menu items are vertically closer than in the previous release. :-(

This is not the first time that menu changes its look. Can we finally have a stable one, please?

EMG
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Bug in TMenu

Post by Enrico Maria Giordano »

Please compare current menu items height with the one of other programs.

EMG
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Bug in TMenu

Post by Antonio Linares »

Enrico,

It is fixed and it will be included in next FWH version
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Bug in TMenu

Post by Antonio Linares »

already sent
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Bug in TMenu

Post by Enrico Maria Giordano »

Another TMenu bug. In the following sample, please open Test menu and you will see that the mdichild window title is missing from the last menu item.

Code: Select all

#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oWnd, oMenu

    MENU oMenu 2007
        MENUITEM "Test"

        MENU
            MENUITEM "Test"
            MENUITEM "Test"
            MENUITEM "Test"
        ENDMENU
    ENDMENU

    DEFINE WINDOW oWnd MDI;
           TITLE "MDI Test";
           MENU oMenu

    ACTIVATE WINDOW oWnd;
             ON INIT CREATECHILD( oWnd )

    RETURN NIL


STATIC FUNCTION CREATECHILD( oMdi )

    LOCAL oWnd, oMenu

    MENU oMenu 2007
        MENUITEM "Test"

        MENU
            MENUITEM "Test"
            MENUITEM "Test"
            MENUITEM "Test"
        ENDMENU
    ENDMENU

    DEFINE WINDOW oWnd MDICHILD OF oMdi;
           TITLE "MDI Child Test";
           MENU oMenu

    ACTIVATE WINDOW oWnd;
             VALID !GETKEYSTATE( VK_ESCAPE )

    RETURN NIL
EMG
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Bug in TMenu

Post by Antonio Linares »

Enrico,

We are working to fix it. In the meantime try this:

Code: Select all

STATIC FUNCTION CREATECHILD( oMdi )

    LOCAL oWnd, oMenu

    MENU oMenu 2007
        MENUITEM "Test"

        MENU
            MENUITEM "Test        "
            MENUITEM "Test"
            MENUITEM "Test"
        ENDMENU
    ENDMENU
Just increase the width of the first menuitem text
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Bug in TMenu

Post by Antonio Linares »

Use a dot at the end:

MENUITEM "Test ."

or another character
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply