1. Paul Aspland
  2. PowerBuilder
  3. Monday, 9 August 2021 13:25 PM UTC

I have created a new application and a ribbonbar. I followed the instructions, however when I attempt to add the initiation to the mdi window I find I do not have function:

wf_init_ribbonbar

What do I need to do / where do I get the ribbonbar function/s ?.

 

Paul Aspland Accepted Answer Pending Moderation
  1. Monday, 9 August 2021 16:43 PM UTC
  2. PowerBuilder
  3. # 1

René,

So what is the function supposed to do ?. I've seen some code referring to:

 arbb.ImportFromXMLFile(is_Ribbonbar_XML_Name)

Is this correct ?.

 

 

Comment
  1. René Ullrich
  2. Tuesday, 10 August 2021 05:06 AM UTC
I have not downloaded the source. But I think the function is to set the Ribbonbar menu. So ImportFromlXMLFile is one option. You could also import from a string or create or change (after import) the menu using functions.
  1. Helpful
There are no comments made yet.
René Ullrich Accepted Answer Pending Moderation
  1. Monday, 9 August 2021 13:34 PM UTC
  2. PowerBuilder
  3. # 2

Hi Paul,

wf_init_ribbonbar is not a Powerbuilder function. It is a window function in the demo application.

You have to write such a function yourself for your own window.

HTH,

René

 

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.