0
Votes
Undo
  1. Francisco Javier García
  2. PowerBuilder
  3. Wednesday, 20 October 2021 14:12 PM UTC
Good afternoon, can you change the font size of the root node of the main menu ?.
Thanks
John Fauss Accepted Answer Pending Moderation
  1. Wednesday, 20 October 2021 15:57 PM UTC
  2. PowerBuilder
  3. # 1

Hi, Francisco - 

The only way might be owner-drawn menus, where the application takes over all responsibility for rendering the menu. This is not a trivial task nor is it well-suited to be performed by a PowerBuilder application.

https://docs.microsoft.com/en-us/windows/win32/menurc/using-menus#creating-owner-drawn-menu-items

Best regards, John

Comment
  1. Francisco Javier García
  2. Thursday, 21 October 2021 06:13 AM UTC
thanks John
  1. Helpful
There are no comments made yet.
Francisco Javier García Accepted Answer Pending Moderation
  1. Wednesday, 20 October 2021 14:40 PM UTC
  2. PowerBuilder
  3. # 2
Thanks,
Can you modify the fixed 8 point size of the menu bar with Windows API.?
Is there no way?
Comment
There are no comments made yet.
Matt Balent Accepted Answer Pending Moderation
  1. Wednesday, 20 October 2021 14:33 PM UTC
  2. PowerBuilder
  3. # 3

From the Help file on the Menu object: (emphasis mine)

To set the size of text in a menu:

  • Display the Appearance tab page of the top-level menu object's Properties view, select contemporarymenu! from the Menu Style list, and select the desired point size from the TextSize list.

    This property does not apply to menu items in the menu bar, which have a fixed size of 8 points.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.