[REBOL] GUI Maker - You'll like this. Re:
From: rebol:techscribe at: 18-Sep-2000 17:57
that is very cool. It's miles ahead of the tools you usually get to design
Web-based dynamic content.
It reminds a little of Delphi's VCL approach. They had default method
handlers, such that if you double-clicked on a button in the designer, for
instance, then you're switched to the code editor with a prepared function
skeleton to handle the button's default event, which is a click event. In
Delphi it then says:
procedure TForm1.Button1Click(Sender: TObject);
You can now add your code to the skeleton. The object that represents the
GUI element has automatically registered the name of the procedure as its
onclick event handler. Is this where you're heading? (Just curious.)
Implementing something like that should be a little more complicated then
it may first appear, because the Delphi IDE keeps the sourcecode view in
the editor synchronized with the GUI view in the GUI designer at all times.
At 03:29 PM 9/18/00 -0700, you wrote:
>I just uploaded layout.r -- a script that builds REBOL graphical user
interfaces. With it, you can easily create REBOL GUI's without needing to
program a line of code.
>You can get layout.r by running REBOL/View and clicking on REBOL.com. When
you start Layout it includes a few short instructions on how to use it.
>It's pretty good. You can do some fairly sophisticated GUI editing with
it. Of course, it is just a prototype and there is more to come. It is
likely to blow out here and there, so save your work as you go.
>Operation note: run the script in a directory that has a few image files
(jpg, gif, png). That way you can paste the images easily.
>So, now you have no excuses. Let's see some REBOL/View interfaces.
>PS: I wrote this script over the weekend, along with crushing our Merlot
grapes. It will give you a good idea for what 25K can do in REBOL/View.
;- Elan [ : - ) ]
author of REBOL: THE OFFICIAL GUIDE
REBOL Press: The Official Source for REBOL Books
visit me at http://www.TechScribe.com