Problem with / Question about menus in button bar (Solved)

Problem with / Question about menus in button bar (Solved)

Postby driessen » Mon Aug 31, 2015 9:23 pm

Hello,

Problem with menus in the button bar :

Since FWH 15.07 I now or then notice some strange behaviour happening to the titles of my menus.

If I go over the titles with my mouse from the right to the left, the titles vanish one after another. If I go over the titles with my mouse from the left to the righ, the titles appear again.

Question about menus in the button bar :

Is it possible to make the width of the titles of the menus wider? How can I do that?


Thanks a lot in advance.
Last edited by driessen on Mon Sep 07, 2015 12:44 pm, edited 1 time in total.
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: Problem with / Question about menus in the button bar

Postby Antonio Linares » Mon Aug 31, 2015 9:38 pm

Michel,

The strings that you use for your menu are AllTrim()ed ?
regards, saludos

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

Re: Problem with / Question about menus in the button bar

Postby cnavarro » Mon Aug 31, 2015 10:06 pm

driessen wrote:Hello,

Problem with menus in the button bar :

Since FWH 15.07 I now or then notice some strange behaviour happening to the titles of my menus.

If I go over the titles with my mouse from the right to the left, the titles vanish one after another. If I go over the titles with my mouse from the left to the righ, the titles appear again.

Question about menus in the button bar :

Is it possible to make the width of the titles of the menus wider? How can I do that?


Thanks a lot in advance.


Michel

You can give an example of their menus

It has proved an example:. \ Samples \ testxbr3.prg?

You can try this example?

https://www.dropbox.com/s/ifi9zs8iw6vip ... 0.PRG?dl=0
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: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Problem with / Question about menus in the button bar

Postby driessen » Mon Aug 31, 2015 10:31 pm

Yes, Antonio, my menuitems are alltrim()ed.
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: Problem with / Question about menus in the button bar

Postby Antonio Linares » Tue Sep 01, 2015 6:32 am

Michel,

Could you try Cristobal example ?

Also please build samples\fivedit.prg and let me know if its menu does the same as you describe, thanks
regards, saludos

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

Re: Problem with / Question about menus in the button bar

Postby driessen » Wed Sep 02, 2015 2:07 pm

I can't build an example since I got a whole list of undefined externals. Don't know why.

But meanwhile, I have found out what causes the problem.

I changed the standard fontsize for the menues from 9 to 11. Normally the size of the menu is adjusted automatically to the font and fontsize used.
In FWH, the menues are not adjusted. The width of the menu doesn't change if I change the fontsize from 9 to 11. It can happen than that titles of menues are put one above the other. But also the presentation of the menuitems is wrong if I have defined a function key to certain menuitems. The function key is put on the menuitem itself.

Why do I need to change the fontsize? Since I use a 24" screen, my menues are becoming very small, hardly to read.

Anyone an idea for this problem?

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: Problem with / Question about menus in the button bar

Postby Antonio Linares » Wed Sep 02, 2015 4:21 pm

Michel,

> if I change the fontsize from 9 to 11

Have you changed it in Windows settings or from your PRG ?

Cristobal recently has done a great job on FWH menus so surely his advise will be of great help
regards, saludos

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

Re: Problem with / Question about menus in the button bar

Postby driessen » Wed Sep 02, 2015 5:54 pm

Antonio, I changed the fontsize in Windows.
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: Problem with / Question about menus in the button bar

Postby cnavarro » Wed Sep 02, 2015 6:10 pm

driessen wrote:I changed the standard fontsize for the menues from 9 to 11. Normally the size of the menu is adjusted automatically to the font and fontsize used.
In FWH, the menues are not adjusted. The width of the menu doesn't change if I change the fontsize from 9 to 11. It can happen than that titles of menues are put one above the other. But also the presentation of the menuitems is wrong if I have defined a function key to certain menuitems. The function key is put on the menuitem itself.


You are right
Solved

I have been informed of the modifications to Antonio

I remain at your disposal for any additional comments

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: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Problem with / Question about menus in the button bar

Postby driessen » Wed Sep 02, 2015 6:18 pm

Great job, Christobal.

Thank you so much.
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: Problem with / Question about menus in the button bar

Postby Antonio Linares » Thu Sep 03, 2015 8:39 am

Thank you Cristobal :-)
regards, saludos

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

Re: Problem with / Question about menus in the button bar

Postby driessen » Thu Sep 03, 2015 10:43 am

Antonio,

What changes need to be made?
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: Problem with / Question about menus in the button bar

Postby Antonio Linares » Thu Sep 03, 2015 11:35 am

Michel,

I email you the modified FWH libs
regards, saludos

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

Re: Problem with / Question about menus in the button bar

Postby driessen » Thu Sep 03, 2015 12:30 pm

Thanks a lot, Antonio.

But I'm afraid the problem is not completely solved.

I send you some pictures of my menu's be e-mail.

Hope this helps to solve the problem.
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: Problem with / Question about menus in the button bar

Postby cnavarro » Thu Sep 03, 2015 1:53 pm

driessen wrote:Thanks a lot, Antonio.

But I'm afraid the problem is not completely solved.

I send you some pictures of my menu's be e-mail.

Hope this helps to solve the problem.


You can send me the pictures?
navarro . cristobal at gmail . com (at = @ and remove spaces)
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: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 17 guests