1. Apoorva JUKANTI
  2. PowerBuilder
  3. Sunday, 12 November 2023 11:39 AM UTC

I declared ribbon bar control in one window w_rib and I want to access it in other window w_sh_rc through a function, but not able to retrieve the actual values.

How to access ribbon bar control in other windows?

Peter Pang @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 14 November 2023 03:04 AM UTC
  2. PowerBuilder
  3. # 1

Hi  Apoorva,


For one window (w_sh_rs) to access the control rbb_1 on another window (w_rib), there needs to be an association between the two windows.

For example, define a w_rib instance variable iw_rib in w_sh_rs, which points to the instantiated w_rib, then you can manipulate the Ribbonbar control in w_rib indirectly through iw_rib.rbb_1.



Best Regards,


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.