Problems with PDMENU class

Problems with PDMENU class

Postby driessen » Thu Jun 29, 2017 9: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 :

Image

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 :

Image

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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Problems with PDMENU class

Postby cnavarro » Thu Jun 29, 2017 1: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: Select all  Expand view  RUN

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
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Problems with PDMENU class

Postby driessen » Thu Jun 29, 2017 4: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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Problems with PDMENU class

Postby cnavarro » Thu Jun 29, 2017 5: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
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Problems with PDMENU class

Postby driessen » Thu Jun 29, 2017 8:54 pm

It was indeed the main window menu.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 63 guests