-
Tiana Sprotte
- PowerBuilder
- Thursday, 19 March 2026 06:25 AM UTC
Good morning,
my company is dipping their feet into the RibbonBar menu and I'm responsible for doing the research needed to do that switch.
I managed to setup a basic menu with XML through the RibbonBar Builder as well as setting up events for the controls.
This is PowerBuilder 2025, Build 3726.
Currently I'm running into two problems. Firstly, the following code inside an event on the RibbonBar menu is opening a simple sheet inside the mdi frame:
if gnv_trans.ib_connected then
OpenSheet(w_dw_arch, parent)
else
MessageBox("Error", "Connect to database first!", StopSign!, OK!)
end if
which does its job, but it also makes this weird bar appear above the RibbonBar:

The window controls on the right also control the sheet inside the frame, so closing the window in the bar above the RibbonBar also closes the sheet again. Not quite sure what's happening here.
The second issue is trying to minimize the RibbonBar menu:
if rbb_main.isminimized() then
rbb_main.setminimized(false)
else
rbb_main.setminimized(true)
end if
Debugging shows the code is reached, so the event link to the button works and "isminimized" is also changing, the visual component just isn't, the RibbonBar stays "open" or maximized the entire time.
Would love some input on this, thanks for reading and for any tips in advance!
Kind regards,
Tiana
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.