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

World: r3wp

[!RebGUI] A lightweight alternative to VID

Pekr
15-Jun-2007
[6662]
sorry ... not good at those topics :-)
Anton
15-Jun-2007
[6663x2]
No,   in object 'word   actually refers to the word that is in that 
object. :)
Try the above example, then see if 'a has a value globally.
Pekr
15-Jun-2007
[6665x2]
eh .... can't believe it :-) it should translate into: display "text" 
[a: field b: field]
your above example does not use setword
Anton
15-Jun-2007
[6667]
No, to-set-word keeps the binding of the word (thankfully).
Pekr
15-Jun-2007
[6668x3]
shit, it works :-)
o: context [a: 1]
print o/a
reduce compose [(to-set-word in o 'a) 5]    
print o/a
value? 'a

results:
1
5
false
it is just not clear, how to-set-word could bind it to o's 'a
Anton
15-Jun-2007
[6671x3]
>> blk: compose [(to-set-word in o1 'a) (to-set-word in o2 'a)]
== [a: a:]
>> get blk/1
== 1
>> get blk/2
== 200
to-set-word is not doing any binding. The word retains its binding. 
Each word knows to which context it is bound.
So, as the word travels around the place, it knows in which object 
its associated value can be found.
Pekr
15-Jun-2007
[6674]
ah, that is like sucking 'a from object to upper context, while 'a 
still remembers, where it belongs ;-)
Anton
15-Jun-2007
[6675]
We should move to Core group.
Chris
15-Jun-2007
[6676]
Just ran RebGUI from the Desktop Demos folder:

** Script Error: yello has no value
** Where: append-message
** Near: get msg-color
Anton
15-Jun-2007
[6677x2]
yello is a new colour since....
since View1.3.2
Chris
15-Jun-2007
[6679]
I'm post-1.3.2, but clearly a little behind...
Ashley
15-Jun-2007
[6680]
system/version?
Chris
16-Jun-2007
[6681]
1.3.61.3.1 -- works after downloading 2.7.5
Anton
16-Jun-2007
[6682]
1.3.61 is actually older than View 1.3.2
I've renamed mine to:
rebview1.3.061.3.1  and  rebview1.3.2.3.1
so that they sort properly, by release.
Chris
16-Jun-2007
[6683x2]
Hmm, I guess it's the same as for 1.3.50.3.1 ?
Shows how long it is since I last really used View : )
Ashley
16-Jun-2007
[6685]
This has happened a few times now, so I might add a check for these 
misnumbered versions. Any other versions apart from 50 & 61 I need 
check for?
Chris
16-Jun-2007
[6686]
1.3.2?
Ashley
16-Jun-2007
[6687]
value? 'yello
Anton
17-Jun-2007
[6688x3]
I have
rebview1.3.000.3.1.exe 
rebview1.3.001.3.1.exe 
rebview1.3.001.3.1c.exe 
rebview1.3.001.3.1d.exe 
rebview1.3.050.3.1.exe 
rebview1.3.051.3.1.exe 
rebview1.3.052.3.1.exe 
rebview1.3.060.3.1.exe 
rebview1.3.061.3.1.exe 
rebview1.3.2.3.1.exe 
rebview2.7.000.3.1.exe 
rebview2.7.001.3.1.exe 
rebview2.7.002.3.1.exe 
rebview2.7.004.3.1.exe 
rebview2.7.005.3.1.exe
The above list is in chronological order, thanks to the zero-padding 
I used.
'yello first appears in 1.3.2
amacleod
20-Jun-2007
[6691]
I want to use RebGUI with MySQL using Doc Kimmel's protocol. Doc's 
protocol provides a block of blocks of data but RebGUI's table widget 
I believe is looking for a single block for the data. What is the 
best way to handle the sql blocks. Having each row in a block is 
handy for  manipulation.
Pekr
20-Jun-2007
[6692]
amacleod - Doc's driver allows to get "flat" block structure too. 
Look for /flat or /raw refinement or something like that. E.g. sqlite 
driver from Ashley uses /flat to obtain such structure.
amacleod
20-Jun-2007
[6693x2]
Thanks, I'll look into that.
I'm just looking at the table widget's properties...is it possible 
to have "hidden" fields? he number of fields in my database are much 
larger than what could be displayed.
Pekr
20-Jun-2007
[6695]
no, no hidden fields. Table is very basic data widget.
amacleod
20-Jun-2007
[6696]
Can you mix vid stuff wih RebGUI s that I can perhaps use Henrick's 
list-view widget within rebgui?
Pekr
20-Jun-2007
[6697]
There is much better one, done under the contract by Cyphre. It is 
called grid. It allows you to have visible/non visible columns, row 
or cell hilighting, whatever content in a cell, vertical plus horizontal 
scroll. It's only drawback is, that first release does not contain 
column resizing.
amacleod
20-Jun-2007
[6698]
Sounds good! Does it work with Rebgui?
Pekr
20-Jun-2007
[6699x3]
Unfortunatelly, before it was fully finished, RebGUI got some api 
changes, and I am not sure how long would it take to adapt.
It was RebGUI only ....
and you can find it in the widgets folder. It is just not included 
in the demo.
amacleod
20-Jun-2007
[6702]
that helps bigtme! thanks!
Pekr
20-Jun-2007
[6703x2]
I hope it should not be a problem to adapt. IMO Cyphre would do it 
in one day, but let him work on R3 :-)
Robert also said, he has extended table widget. Don't remember exactly 
what was added, maybe horizontal scrolling ...
Graham
20-Jun-2007
[6705x3]
easy to have hidden fields in the table widget
I normally put all my hidden columns in at the front of the table 
options definition
and assign them a width of .001 which does the trick.
amacleod
20-Jun-2007
[6708]
where is the widgets folder? On the website?
Graham
20-Jun-2007
[6709]
http://trac.geekisp.com/rebgui/browser/widgets
amacleod
20-Jun-2007
[6710x2]
I tried the .001 trick..That might surfice. Thanks Graham!
I found grid.r on trac.geekisp. How do I download the script from 
here? I've tried to cut and paste but hte line numbers come along 
with it. And how do I use it with rebgui?