<div dir="ltr"><div class="gmail_default" style="font-size:small">If anyone has use for an enhanced Frame container that has a menu button (if you want) there is one here...</div><div class="gmail_default" style="font-size:small"><a href="https://gitlab.com/bsteers4/buttonframe">https://gitlab.com/bsteers4/buttonframe</a></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Any suggestions/comments welcome<br></div><div class="gmail_default" style="font-size:small">Maybe ButtonFrame is misnamed and should be MenuFrame?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Wishing well<br></div><div class="gmail_default" style="font-size:small">BruceS<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Form the README...<br></div><div class="gmail_default" style="font-size:small"><h2 dir="auto">ButtonFrame.class</h2>
<h3 dir="auto">
A Gambas Frame.class with a menu button</h3>
<p dir="auto">A Frame.class with a menu icon in the top right corner.\</p>
<ul dir="auto"><li>
<p>Assign a Menu as you would a normal Popup menu\</p>
</li><li>
<p>Set the menu icon image using MenuIcon property.</p>
</li><li>
<p>Access ButtonFrame.LastFrame on menu click so one menu can be used on multiple frames.</p>
</li><li>
<p>Use Text or RichText for Title (setting RichText will override Text property)</p>
</li><li>
<p>Increase button size by increasing TextFont (Frame title text) size.</p>
</li><li>
<p>Button can be excluded from TabFocus</p>
</li><li>
<p>Set Buttonframe.Foreground to change title color.</p>
</li><li>
<p>Simply copy the ButtonFrame.class file to your project .src directory and compile.</p>
</li><li>
<p>After compiling ButtonFrame will be in the designer Container section.</p>
</li><li>
<p>Info/help is added to the source so it shows in the help section/wiki</p>
</li></ul>
<h3 dir="auto">
Credits.\</h3>
<ul dir="auto"><li>Benoit Minisini: Author of Gambas the the original Frame.class</li><li>Bruce Steers: menu button additional code plus some other enhancements.</li></ul><div><img src="http://bws.org.uk/images/BFrame.png" width="545" height="351"><br><br></div></div></div>