BBC BASIC for Windows
Programming >> User Interface >> Toolbar Separator
http://bb4w.conforums.com/index.cgi?board=ui&action=display&num=1371155777

Toolbar Separator
Post by Matt on Jun 13th, 2013, 5:51pm

Hi,

Is there a way to insert a toolbar separator into a toolbar, similar to those in the BB4W PE toolbar?

Matt
Re: Toolbar Separator
Post by admin on Jun 13th, 2013, 8:46pm

on Jun 13th, 2013, 5:51pm, Matt wrote:
Is there a way to insert a toolbar separator into a toolbar, similar to those in the BB4W PE toolbar?

That's documented in the manual:

http://www.bbcbasic.co.uk/bbcwin/manual/bbcwing.html#createtoolbar
http://www.bbcbasic.co.uk/bbcwin/manual/bbcwing.html#createtoolbarex

The appearance of a separator depends on the style of the toolbar. In a regular toolbar it's simply a gap (as demonstated by GUIDEMO.BBC) but with a 'flat' toolbar (TBSTYLE_FLAT) it appears as a faint vertical line.

Richard.

P.S. I've moved this topic to a more appropriate place, because it has nothing to do with the 'BBC BASIC language'.
Re: Toolbar Separator
Post by Matt on Jun 13th, 2013, 9:17pm

Thanks Richard.