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

World: r3wp

[!RebGUI] A lightweight alternative to VID

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?
Pekr
20-Jun-2007
[6712]
download - we all use TortoiseSVN, which you can install as an Explorer 
extension to Windows. Then via right mouse button context menu you 
choose -update, and point it to svn archive - you can find link somewhere 
on rebgui site.
amacleod
20-Jun-2007
[6713]
thanks
Pekr
20-Jun-2007
[6714x3]
and as I said - grid.r will not work imo. There were some changes 
in rebgui and someone would have to adapt it.
I can eventually send you a source, if you want.
It is a pity, as it it light-years more powerfull than table, which 
is just - plain vid list, with column resizing, nothing really more.
amacleod
20-Jun-2007
[6717]
what is the last version of rebgui that it works on?
Pekr
20-Jun-2007
[6718x4]
I will check if I have such one, and send you email eventually. I 
switched jobs inbetween, so dunno if I have it here.
but I sent it to Graham, maybe he might to send it to you ...
OK, I've got it .... checking your email ...
sent to your email I found here in your altme profile ...
amacleod
20-Jun-2007
[6722]
Pekr, I got your email, thanks. I'm unable to get the tests to run. 
getting an error.
Pekr
20-Jun-2007
[6723x2]
what version of View are you running? I run 1.3.2.
also note - you have to have rebgui.r in your app directory, as it 
is used by grid.r
amacleod
20-Jun-2007
[6725]
the rebgui file does no seem to be formatted properly. Its all one 
long line.
Pekr
20-Jun-2007
[6726]
it is ok, that is how ti was distributed in the past - packed
amacleod
20-Jun-2007
[6727x2]
I'm using view 1.3.2.3.1
I'm running he test app with grid.r and rebgui in same directory. 
Do  I need to "Do" grid.r?
Pekr
20-Jun-2007
[6729x6]
yes ...
ah, no ...
I just looked, it only does rebgui.r, because grid.r is part of the 
package ...
I will try to send it to you in .zip archvie ...
maybe mailer did something to it
sent ...
amacleod
20-Jun-2007
[6735]
Bingo! it works. Thanks for all your trouble!
Pekr
20-Jun-2007
[6736]
ah, super! Now how to get it working with latest version of RebGUI 
:-) Also note, that docs are very brief, so most of the functionality/features 
are hidden in source code ...
Graham
30-Jun-2007
[6737x2]
Looks like trac.geekisp.com/rebgui is down ...
as is www.geekisp.com
Graham
1-Jul-2007
[6739]
Regarding my boundary issues with rebgui and the area widget, this 
is what happens


If I am typing at the bottom of the screen and the scroller bar is 
shorter than the scroller height, and the bar is placed up against 
the top, then entering a return places the caret at the head of the 
current line instead of at a new line.

If I move the scroll bar to the bottom of the scroller widget, <return> 
then it does move to a new line.

There are no problems if the scroll bar occupies the whole of the 
scroller widget.
Graham
3-Jul-2007
[6740]
make object! [
    code: 902
    type: 'internal
    id: 'stack-overflow
    arg1: none
    arg2: none
    arg3: none
    near: [unless find [object! block!] type?/word get]
    where: 'into-widget
]