Inserting a RibbonBar control to the MDI window
Insert the RibbonBar control into the MDI window. Note that
you must resize the width and height for RibbonBar area in
correspondence with the MDI client area to make sure the RibbonBar
fits well in the MDI window.
In the Sales Demo application:
-
Insert the RibbonBar control into the MDI window (from
menu: Insert > Control > RibbonBar in PowerBuilder
IDE). -
Add the following code to the Resize event of the MDI
window:123456//resize RibbonBarrbb_1.move(0, newheight - this.workspaceheight())rbb_1.width = newwidth//resize mdi_1 based on RibbonBarmdi_1.move (0, rbb_1.height + newheight - this.workspaceheight())mdi_1.resize (newwidth, newheight - rbb_1.height - ( newheight - this.workspaceheight()))
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest