How to use the line below the help menu?

Started by John_S, July 27, 2018, 11:01:08 AM

Previous topic - Next topic

John_S


Hello.  I have been asked to display a message in the blank space between the menu bar and the main window.  It looks like there is a blank line there (see attached screenshot), but I don't know how to put anything there.  They do not want to use the status bar.

Mike King

That area is the Toolbar line and you can but controls there by specifying a line number of -1.

For Example:


  • multi_line 10,@(0,-1,10,1)
  • button 11,@(10,-1,2,1)="{!Bug}",opt="W"[/tt]

The controls, unless defined as GLOBAL will be considered part of the current window even though they appear in the toolbar.  This means they will be deleted when the current window is closed.

Note: that the columns widths assume the toolbar is 80 columns wide unless you set the 'TB' system parameter in which case the toolbar columns/widths will match that of the window layouts.
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com

John_S