PxPlus User Forum

Twitter Twitter Twitter

Author Topic: How to use the line below the help menu?  (Read 516 times)

John_S

  • Silver Member
  • ***
  • Posts: 20
    • View Profile
How to use the line below the help menu?
« on: July 27, 2018, 11:01:08 AM »

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

  • Administrator
  • Diamond Member
  • *****
  • Posts: 3359
  • Mike King
    • View Profile
    • PVX Plus Technologies
Re: How to use the line below the help menu?
« Reply #1 on: July 27, 2018, 11:57:32 AM »
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

  • Silver Member
  • ***
  • Posts: 20
    • View Profile
Re: How to use the line below the help menu?
« Reply #2 on: July 27, 2018, 12:03:40 PM »
Thank you Mike, that helps!