r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[View] discuss view related issues

Arie
1-Jun-2007
[6991]
Yes, I wonder what that will bring us ...
Anton
1-Jun-2007
[6992x4]
Yes you can.
view layout [
	text-list data ["hello" "there" "Arie"] with [
			append init [
				iter/feel: make iter/feel [
					redraw: func [face action into][
					iter/color: color

     ;if flag-face? slf striped [iter/color: pick next colors odd? cnt]
					iter/color: white / 4 * (1 + mod cnt 4)
					if find picked iter/text [iter/color: svvc/field-select]
				]
			]
		]
	]
]
The new line replaces the commented line.
I don't like text-list, though. I would rewrite it first.
Arie
1-Jun-2007
[6996]
OK, I will try it. Thanks Anton.
Gregg
1-Jun-2007
[6997]
I stand corrected. :-) I should know better than to say "you can't 
do that", because almost anything can be done in REBOL, it's just 
a question of effort and obscurity.
Anton
1-Jun-2007
[6998]
I thought you said it to provoke someone.
Arie
1-Jun-2007
[6999x3]
LOL
I tried it and indeed that's a nice trick (at least it feels like 
one ;-)
But yes, REBOL always amazes me (as well as the REBOL guru's out 
there)
Gregg
1-Jun-2007
[7002]
Must have be subconscious provocation.
Arie
1-Jun-2007
[7003]
:-)
Terry
3-Jun-2007
[7004]
This is odd.. i fired up a .r view script link on a web page, and 
it launched the viewtop in the browser ;)
Anton
3-Jun-2007
[7005]
I seem to remember that was a problem of some version of the rebol 
web plugin.
Terry
4-Jun-2007
[7006]
How does one supress the creation of desktop/local folders?
Anton
6-Jun-2007
[7007]
Unknown, I think.
denismx
9-Jun-2007
[7008]
Unfamiliar with View: Is there a way to have Rebol/View rebuild it's 
local index automaticaly when you add scripts to the folder? It would 
ease the process of getting into the stuff if I could just shove 
a bunch of .r files in there without having to build an index manually 
before running them. Someone must have solved this already, I'm sure! 
;-)
Graham
9-Jun-2007
[7009]
no
denismx
9-Jun-2007
[7010]
wow. any idea why not?
Graham
9-Jun-2007
[7011]
guess no one ever bothered
denismx
9-Jun-2007
[7012]
double wow.
Graham
9-Jun-2007
[7013]
actually I think mine is dynamically generated
ICarii
9-Jun-2007
[7014]
view has a GUI? ;)  I normally just use console :)
Graham
9-Jun-2007
[7015x2]
my index.r is actually a cgi script so it gets generated automatically
not that I've added anything in recent years
denismx
9-Jun-2007
[7017x2]
I was into the console mostly, but it might be that for teaching 
purposes View would be a smarter choice (beginners in programming)
Oh, then maybe I have to restart View to have it generate the new 
index.r (in local folders)
Graham
9-Jun-2007
[7019x2]
how about combining viewtop with Cheyenne :)
let Cheyenne do all the indexing for you
denismx
9-Jun-2007
[7021x4]
wait, Cheyenne... don't remember. Is that a relative to
A
Apache... ?
(small laptop keyboard)
Graham
9-Jun-2007
[7025]
See Cheyenee channel.. rebol based web server
denismx
9-Jun-2007
[7026]
so it is related. ok.
Henrik
10-Jun-2007
[7027]
guess no one ever bothered

 <--- probably more like: no one has the time to add that feature. 
 The Viewtop source is open, but it has never been modified.
Volker
10-Jun-2007
[7028]
And it can be done external. write a script to build indexes, launch 
it from desktop after adding scripts, done.
Oldes
10-Jun-2007
[7029]
I normally just use console
 ---> I normaly use NOT JUST ONE console:-)
Henrik
10-Jun-2007
[7030]
I normally use Tester :-)
denismx
10-Jun-2007
[7031x2]
There is a script called update_index.r that probably is supposed 
to do this - but it bombs when not finding "desktop/icons".
got it working... it's only a gui to update index.r. It doesn't pick 
up the scripts in the directory automaticallyt.
Anton
12-Jun-2007
[7033x3]
Denis, yes, I spent a lot of time trying to make viewtop replacements, 
with scripts for updating index.r files.
But I never really finished the work, so I haven't made any big announcement 
- it would probably just waste people's time.
Actually, the index.r updater script works pretty well. I started 
with the idea that I wanted to manually select which files I would 
like indexed and thus publically viewable. I did not want it to automatically 
add files to the index just because they were in a directory.
Ingo
13-Jun-2007
[7036x4]
the ViewTop source ... has never been modified.
not true ... the modifications just haven't been released to the 
public.
(there was always that little thig I wanted to get right ... ;-(
... but my modifications didn't do automatic index.r either ...
amacleod
28-Jun-2007
[7040]
I making an app that requires a long pick list that will be contained 
in one of cyphre's tab panels that will be relativly narrow. ..so 
"Choice" will not work as the face is not large enough. I've tried 
rebol's drop-down but I can not see the whole widget. Are there refinements 
to this "widget" I can not find any docs on it. I have tried to use 
'Cyphre's drop-down but I am also using the list-view widget and 
htere sems to be some kind of conflict. I have also tried drop-down.r 
from hte library and it displays fine but I can not upate it to display 
waht I select in the list-view widget. Any thoughts?