<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>fbTUI</title>
		<link>http://www.ascii-world.com/forum/t-63162/fbtui</link>
		<description>Posts in the discussion thread &quot;fbTUI&quot; - New FreeBasic GUI</description>
				<copyright></copyright>
		<lastBuildDate>Thu, 09 Sep 2010 19:20:36 +0000</lastBuildDate>
		
					<item>
				<guid>http://www.ascii-world.com/forum/t-63162#post-176588</guid>
				<title>Re: fbTUI</title>
				<link>http://www.ascii-world.com/forum/t-63162/fbtui#post-176588</link>
				<description></description>
				<pubDate>Sat, 31 May 2008 20:50:15 +0000</pubDate>
				<wikidot:authorName>Anonymous</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi man. Been while since last time heard of you.<br /> Been quiet at a-w.com. We mostly talk at basicprogramming.org.</p> <p>Your tui sounds interesting. Im in need of one soon ;)<br /> See link for more <a href="http://forum.basicprogramming.org/index.php?topic=242.0">http://forum.basicprogramming.org/index.php?topic=242.0</a></p> <p>E.K.Virtanen</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.ascii-world.com/forum/t-63162#post-175563</guid>
				<title>fbTUI</title>
				<link>http://www.ascii-world.com/forum/t-63162/fbtui#post-175563</link>
				<description></description>
				<pubDate>Fri, 30 May 2008 18:55:23 +0000</pubDate>
				<wikidot:authorName>rickclark58</wikidot:authorName>				<wikidot:authorUserId>12672</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hey Folks,</p> <p>Still no internet connect yet I'm afraid. Hopefully, soon.</p> <p>However, I haven't been just laying around. :) While working on a couple of programs, I decided that I needed an easy to use gui system for FB. Since there really isn't one (that I know of) that is written in pure FB, I decided to write my own. Right now I have the main desk object and menu object working. The desk object is the core gui object that is the container for the menu and window objects. The window object is a container for the different control objects such as a textbox, label, button, etc. The syntax is quite easy to use. For example:</p> <p>sub MessageHandler (objID as integer, e as EVENT)</p> <p>'handle message</p> <p>end sub</p> <p>dim mydesk as desk = desk([options])</p> <p>CreatMenu [options]<br /> AddNewMenuItem [options]<br /> …<br /> desk.menu.ShowMenu<br /> desk.ProcessMessage = @MessageHandler<br /> desk.ShowDesk<br /> desk.Run</p> <p>The run command enters into the gui message loop. The MessageHandler sub is a user defined sub that you would use to handle any messages generated by the system. The objID is the id of the object you used when you created the object and the e as EVENT is the FB ScreenEvent record that is passed from the desk message loop. You pass the address of your message handler to the desk ProcessMessage before you run the desk object.</p> <p>Next time I can get online I'll post some screen shots.</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>