About docs and View's flaws
[1/4] from: rebolmikko:y:ahoo at: 18-Oct-2001 5:59
> help has failed me), though I do wish it had an
> index. (I'm talking
> about the book here, but it's online on RT's site
> too.)
Yes, the index would make things easier for online
documentation as well. I mean, it takes some effort to
find where "refinements" are mentioned...
> View on the other hand hasn't any books yet, (and it
> looks like the
> first one to cover it will be in French), so we're
> left with what's
Oh, bad news...
> > Ok, so I didn't read the manuals very well before
> > starting to program - but how many does?
>
> Complaining about the lack of documentation and then
> saying you don't
> read it very well anyway is, ummm, err, something.
> (:
Take it as "I didn't fully read all the Core documents
prior trying to do things with the View". I did read
the View documents though.
Speaking about view: has anyone written a bug-list of
some sort for View, or even better, a list of work
arounds to known issues? With my first attempt, I
found several flaws. For example the choice face seems
to decide the size of the button from first string,
resulting in trash if following strings are lengthier?
I also don't know how to produce a button that would
close the window peacefully, I always get trash, if I
press "ESC" and the next time I run the script, it
doesn't work... These kind of show stoppers are a pity
because otherwise View seems to be very nice
concept...
Cheers,
Mikko Mäkelä
[2/4] from: petr:krenzelok:trz:cz at: 18-Oct-2001 15:24
Mikko Mäkelä
wrote:
> > help has failed me), though I do wish it had an
> > index. (I'm talking
<<quoted lines omitted: 21>>
> Speaking about view: has anyone written a bug-list of
> some sort for View,
no, all bugs are being sent to RT, so RT will hopefully fix them all
with upcoming releases :-)
> or even better, a list of work
> arounds to known issues?
You can find some tips thru Allen's http://www.rebolforces.com site ...,
draw docs are on Larry's rebsite IIRC. His site is called Ecotope, and
icon is called "Easy Draw"
> With my first attempt, I
> found several flaws. For example the choice face seems
<<quoted lines omitted: 3>>
> close the window peacefully, I always get trash, if I
> press "ESC"
I assume you press "ESC" in conzole, right? Then just type: unview/all
and you can restart your script ...
.. as for your button:
view layout [button "END" [unview/all]] ; and you are back in console
...
Cheers,
-pekr-
[3/4] from: ammonjohnson:ya:hoo at: 18-Oct-2001 16:15
<Snip>
> Speaking about view: has anyone written a bug-list of
<<quoted lines omitted: 3>>
> to decide the size of the button from first string,
> resulting in trash if following strings are lengthier?
choice 150x25 "text" "text" "& more text"
the pair! (150x25) sets the width, & height of the choice.
> I also don't know how to produce a button that would
> close the window peacefully, I always get trash, if I
> press "ESC" and the next time I run the script, it
> doesn't work... These kind of show stoppers are a pity
> because otherwise View seems to be very nice
> concept...
either,
[button "unview" [unview self]]
or,
[button "quit" [quit]]
depending on wether you wanted to close the window, or quit the script.
Enjoy!!
Ammon
[4/4] from: carl:cybercraft at: 19-Oct-2001 11:51
On 19-Oct-01, Ammon Johnson wrote:
> <Snip>
>>
<<quoted lines omitted: 6>>
> choice 150x25 "text" "text" "& more text"
> the pair! (150x25) sets the width, & height of the choice.
Note also that if you use an integer instead of a pair just the width
will be set, with the height remaining the default. This applies to
quite a few VID words, not just 'choice.
>> I also don't know how to produce a button that would
>> close the window peacefully, I always get trash, if I
<<quoted lines omitted: 23>>
>> [rebol-request--rebol--com] with "unsubscribe" in the
>> subject, without the quotes.
--
Carl Read
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted