FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Problems with PDMENU class
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Problems with PDMENU class
Posted: Thu Jun 29, 2017 09:20 AM
Hello,

Since a few months, I have a problem with the appearance of my menues.

In all versions of 2017 of FWH, my menues look like this :



As one can see, the title is not centered and is wider than normal.

I did some testing and I noticed that everything is ok if I use the pdmenu class of FWH 16.12.

The result with the pdmenu class of FWH 16.12 looks like this :



Everything just looks fine here.

What is wrong with the current pdmenu class?

Thanks a lot in advance.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Problems with PDMENU class
Posted: Thu Jun 29, 2017 01:40 PM
Michel

1.- Is the main window menu?
2.- Is it a Mdi window?
3.- Is it a Mdichild window?

In any case, put this instruction at the menu definition
And please tell me how it appears now

Code (fw): Select all Collapse
MENU oMenu

oMenu:lMenuBar   := .T.

// your menu

ENDMENU
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: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: Problems with PDMENU class
Posted: Thu Jun 29, 2017 04:37 PM

It seems to me that the problem is solved.
Thank you very much.

But can you give a little explanation?

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Problems with PDMENU class
Posted: Thu Jun 29, 2017 05:36 PM
driessen wrote:It seems to me that the problem is solved.
Thank you very much.

But can you give a little explanation?


Yes, glad to explain what you need, but for my explanation I need your answer

1.- Is the main window menu?
2.- Is it a Mdi window?
3.- Is it a Mdichild window?

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: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: Problems with PDMENU class
Posted: Thu Jun 29, 2017 08:54 PM

It was indeed the main window menu.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Continue the discussion