LB Booster
Programming >> Liberty BASIC language >> Menu: separator
http://lbb.conforums.com/index.cgi?board=lblang&action=display&num=1480209176

Menu: separator
Post by Alincon on Nov 27th, 2016, 12:12am

If you use a menu separator like this,
Code:
menu #main, "TENANTS", "&Tenants", [tenants], |, "Vacate", [tntVacate]
 

The 'separator' is almost invisible (to me), so I have tried this:
Code:
menu #main, "TENANTS", "&Tenants", [tenants], "-------",[manLoop], "Vacate", [tntVacate]   
 

Note that the branch-to label does not even have to exist. No error occurs if you click on the hyphens.

One other point: There also seems to be a very faint vertical line to the left of the menu choices, whether or not a separator is used.
What is that for? Do checkmarks (if used) appear to the left of it?
Re: Menu: separator
Post by Richard Russell on Nov 27th, 2016, 09:36am

on Nov 27th, 2016, 12:12am, Alincon wrote:
The 'separator' is almost invisible (to me)

I think you'll find this is very much 'Windows theme' related. The horizontal and vertical dividing lines are pretty clear here, running Windows 10 on a full-HD laptop (with the default auto-scaling to 1280 x 720 enabled):

User Image

Quote:
Do checkmarks (if used) appear to the left of it?

Yes, they do.

Richard.