Main Board > Programming

How to use the line below the help menu?

(1/1)

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.

John_S:
Thank you Mike, that helps!

Navigation

[0] Message Index

Go to full version