1. Glenn Barber
  2. PowerBuilder
  3. Thursday, 15 October 2020 20:51 PM UTC

We have a PFC based app on PowerBuilder Version 2017 R3 Build 1858

We are displaying some ICONs on a MDI Frame menu (m_app_sheet inherited from m_master).  One of the items on the menu has an associated Toolbar Item.  There is a bitmap associated with the ToolbarItemName, and a separate bitmap associated with ToolBarItemDownName.

For reasons we havent been able to discover, for some reason, even when the ToolBar item id set down (and visible) the picture doesn't change to the Down Version.

This occurs is the development mode as well as in the executable.  

We have a nearly identical setup in other apps and in those the Tool bar Down Picture Appears correctly when the tool bar is down?

Anyone have any ideas as to what to do

Olan Knight Accepted Answer Pending Moderation
  1. Saturday, 17 October 2020 00:38 AM UTC
  2. PowerBuilder
  3. # 1

In the arena of "Is it plugged in":
  1) is there an expression for the toolbar down state?
  2) is the down state enabled?
  3) is the menu item overriden by an ancestor?


Good Luck!

Comment
There are no comments made yet.
Glenn Barber Accepted Answer Pending Moderation
  1. Friday, 16 October 2020 16:35 PM UTC
  2. PowerBuilder
  3. # 2

As I said - this works in other of our applications - but some situation we don't understand, something causes the the down picture not to work in this application.

Comment
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Friday, 16 October 2020 14:18 PM UTC
  2. PowerBuilder
  3. # 3

I just tried setting the menu down picture to StopSign! for a menu item and it works fine in a Traditional-style menu in a PFC-based app under PB 2017 R2 Build 1769, when run from the IDE.

I don't what you have or have not tried, but you need to be creative in trying various things. Have you tried temporarily assigning a different menu down picture? It might be the picture bitmap. For troubleshooting purposes, try using a PB-supplied picture (like StopSign!). If you are using your own bitmap for the menu down image, I'd also try using an alternate/different bitmap image, if available. Is this bitmap used elsewhere in the app? If not, can you place a picture control on a window to display it? Are you able to see the bitmap used for the menu down image if you assign it as the "up" (normal) menu image? There's a variety of things you can attempt to help you figure this out.

Regards, John

Comment
  1. Glenn Barber
  2. Friday, 16 October 2020 16:38 PM UTC
Already tried a variety of different pictures.. will try swapping to see if that makes a difference. Odd that the same configuration works in other apps.
  1. Helpful
There are no comments made yet.
Glenn Barber Accepted Answer Pending Moderation
  1. Thursday, 15 October 2020 22:34 PM UTC
  2. PowerBuilder
  3. # 4

They are traditional - we can actually see the button go down when pressed.

Comment
  1. Chris Pollach @Appeon
  2. Friday, 16 October 2020 14:40 PM UTC
Hi Glenn;

I just created an MDI window with a menu test app. The toolbar icon up & down icons work OK. No issues in my PB 2017 R3 build 1915. I tested with both Traditional and Contemporary menus BTW.

Regards ... Chris
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 15 October 2020 21:06 PM UTC
  2. PowerBuilder
  3. # 5

Hi Glenn;

    Are your App menu objects using the "Traditional" or "Contemporary" menu style?

Regards ... Chris

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.