Page 1 of 2
Problem with / Question about menus in button bar (Solved)
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Mon Aug 31, 2015 9:23 pm
by driessen
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.
Re: Problem with / Question about menus in the button bar
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Mon Aug 31, 2015 9:38 pm
by Antonio Linares
Michel,
The strings that you use for your menu are AllTrim()ed ?
Re: Problem with / Question about menus in the button bar
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Mon Aug 31, 2015 10:06 pm
by cnavarro
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
Re: Problem with / Question about menus in the button bar
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Mon Aug 31, 2015 10:31 pm
by driessen
Yes, Antonio, my menuitems are alltrim()ed.
Re: Problem with / Question about menus in the button bar
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Tue Sep 01, 2015 6:32 am
by Antonio Linares
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
Re: Problem with / Question about menus in the button bar
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Sep 02, 2015 2:07 pm
by driessen
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.
Re: Problem with / Question about menus in the button bar
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Sep 02, 2015 4:21 pm
by Antonio Linares
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
Re: Problem with / Question about menus in the button bar
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Sep 02, 2015 5:54 pm
by driessen
Antonio, I changed the fontsize in Windows.
Re: Problem with / Question about menus in the button bar
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Sep 02, 2015 6:10 pm
by cnavarro
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
Re: Problem with / Question about menus in the button bar
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Sep 02, 2015 6:18 pm
by driessen
Great job, Christobal.
Thank you so much.
Re: Problem with / Question about menus in the button bar
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Sep 03, 2015 8:39 am
by Antonio Linares
Thank you Cristobal
![Smile :-)](./images/smilies/icon_smile.gif)
Re: Problem with / Question about menus in the button bar
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Sep 03, 2015 10:43 am
by driessen
Antonio,
What changes need to be made?
Re: Problem with / Question about menus in the button bar
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Sep 03, 2015 11:35 am
by Antonio Linares
Michel,
I email you the modified FWH libs
Re: Problem with / Question about menus in the button bar
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Sep 03, 2015 12:30 pm
by driessen
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.
Re: Problem with / Question about menus in the button bar
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Sep 03, 2015 1:53 pm
by cnavarro
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)