Hello everybody,
I'm very Rebol addicted, but I can't find a definitive guide to VID.
Do you know where is possible to find something very useful?
For example:
I want to develop a unit converter with 2 columns,
the fist one with the choice of the type of measure (time, speed...)
and the second change with al the unit of that type, but I can't make
diapper and appear the second column.
I tried rebGUI, it's fantastic but it isn't enough elastic.
Woefully out of date now, but I don't think a definative update ever appeared. (As if it did, it'd be linked to on rebol.com's documentations page, right? Yeah, right...) However, for poking around in View/VID internals, this is probably what you need to read...
though I have no idea how good it is (yet), or whether it'll answer your needs. I expect it'll be the last book on REBOL 2 though, assuming the full REBOL 3 actually arrives this decade.
Hope this helps in some way.
-- Carl Read.
On Tuesday, 30-December-2008 at 6:29:43 Shadow Raider wrote,
>Hello everybody,
>I'm very Rebol addicted, but I can't find a definitive guide to VID.
>Do you know where is possible to find something very useful?
>For example:
>I want to develop a unit converter with 2 columns,
>the fist one with the choice of the type of measure (time, speed...)
>and the second change with al the unit of that type, but I can't make
>diapper and appear the second column.
>I tried rebGUI, it's fantastic but it isn't enough elastic.
Carl Read's comments are correct. In general, a complete guide for VID
was never written, but you can find a variety of examples for using
the LIST style, which is what you need.
It's general format is:
LIST attributes layout SUPPLY supply-function
The SUPPLY function is called for each cell in the list, and provides
the data that is displayed in it. It's quite powerful because you can
modify any of the attributes on the fly, using the SUPPLY function.
I wrote a tutorial on it many years ago, but I'm not sure where it
ended up. You can look around rebol.org for other examples, now that
you know what style to use.
I resolved with the face/pane function.
However I think that it's useless going further with Rebol 2 or 3
development, if there aren't complete guides to the language.
I love Rebol, but it's so difficult to obtain guide on VID, that is
one of the key of the spreading of Rebol in the world.
Best regards
Max
> Carl Read's comments are correct. In general, a complete guide for VID
> was never written, but you can find a variety of examples for using
> the LIST style, which is what you need.
> It's general format is:
> LIST attributes layout SUPPLY supply-function
> The SUPPLY function is called for each cell in the list, and provides
> the data that is displayed in it. It's quite powerful because you can
> modify any of the attributes on the fly, using the SUPPLY function.
> I wrote a tutorial on it many years ago, but I'm not sure where it
> ended up. You can look around rebol.org for other examples, now that
> you know what style to use.
Hopefully REBOL 3 will deliver on both the language and documentation front, but that remains to be seen. I'd keep my eye on REBOL on the off chance it does, just don't base any plans on it. Sadly, it's been a long time since I could honestly recommend REBOL to anyone. (Other than to the already computer-savvy as an example of an excellent language/platform.)
-- Carl Read.
On Thursday, 8-January-2009 at 3:42:57 Shadow Raider wrote,
>However I think that it's useless going further with Rebol 2 or 3 >development, if there aren't complete guides to the language. >I love Rebol, but it's so difficult to obtain guide on VID, that is >one of the key of the spreading of Rebol in the world. >Best regards >Max