FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index Bugs report & fixes / Informe de errores y arreglos TMenuItem height [Fixed]
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: TMenuItem height
Posted: Tue Aug 15, 2017 08:55 AM

In the latest FWH the height of menuitems is too much. :-(

Please compare with the Windows desktop menu and adjust it.

EMG

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: TMenuItem height
Posted: Tue Aug 15, 2017 12:15 PM
Enrico, m谩s alto o m谩s peque帽o?

Enrico, higher, or smaller?

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: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: TMenuItem height
Posted: Tue Aug 15, 2017 12:31 PM

Look at you private email.

EMG

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: TMenuItem height
Posted: Wed Aug 16, 2017 03:03 PM

Cristobal, did you receive my EXE?

EMG

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: TMenuItem height
Posted: Wed Aug 16, 2017 03:41 PM

Yes, wait

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: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: TMenuItem height
Posted: Sun Aug 27, 2017 08:09 AM

Still waiting... :-)

EMG

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: TMenuItem height
Posted: Sun Aug 27, 2017 11:21 PM

I do not understand
My answer was not by mail about your EXE?

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: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: TMenuItem height
Posted: Mon Aug 28, 2017 09:15 AM

Are you referring to GetnHeightItem( 2 )? Ok, but you should change static nHeightItem := 2 //1.66. Or am I missing something?

EMG

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: TMenuItem height
Posted: Tue Aug 29, 2017 08:39 AM
The problem is that the menu in this sample is higher and larger than it should be (compared with Notepad), even using latest FWH official build. Can you look at it, please?

Code (fw): Select all Collapse
#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oDlg

    DEFINE DIALOG oDlg

    ACTIVATE DIALOG oDlg;
             ON RIGHT CLICK MAINMENU( nRow, nCol, oDlg );
             CENTER

    RETURN NIL


STATIC FUNCTION MAINMENU( nRow, nCol, oDlg )

    LOCAL oMen

    MENU oMen POPUP
        MENUITEM "Nuovo" + CHR( 9 ) + "CTRL+N"
        MENUITEM "Apri..." + CHR( 9 ) + "CTRL+F12"
        MENUITEM "Salva" + CHR( 9 ) + "CTRL+S"
        MENUITEM "Salva con nome..."

        SEPARATOR

        MENUITEM "Imposta pagina..."
        MENUITEM "Stampa..." + CHR( 9 ) + "CTRL+P"

        SEPARATOR

        MENUITEM "Esci"
    ENDMENU

    ACTIVATE MENU oMen AT nRow, nCol OF oDlg

    RETURN NIL


EMG
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: TMenuItem height
Posted: Sat Sep 02, 2017 12:11 AM
Please put any image for compare

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: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: TMenuItem height
Posted: Sat Sep 02, 2017 07:01 AM
That's not what I get using latest official FWH release. This is what I get:



EMG
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: TMenuItem height
Posted: Wed Sep 06, 2017 12:48 PM

Sorry for bothering you but... any news? :-)

I think this is an important issue, isn't it? Somebody else interested? Or am I the only one?

EMG

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: TMenuItem height
Posted: Sat Sep 09, 2017 08:41 AM

Enrico,
We are making a final decision on this issue
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