• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

AltME groups: search

Help · search scripts · search articles · search mailing list

results summary

worldhits
r4wp10
r3wp1661
total:1671

results window for this page: [start: 1201 end: 1300]

world-name: r3wp

Group: !RebGUI ... A lightweight alternative to VID [web-public]
Ashley:
15-Apr-2007
Off the top of my head these are some of the things needed to be 
done:


1) Code a rebind func where applicable to handle dynamic UI changes 
(e.g. color)

2) Assign a string! to 'tip so my audo-doc system can pick it up 
(look at table.r for an example)
3) remove redundant ctx-rebgui/ qualifiers
4) check for global namespace pollution

5) Avoid having the widget dependent upon %rebgui-edit.r hard-coded 
widget handling code ... I've removed all the widget specific stuff 
(apart from button) ... If the widget *really* requires other changes 
then we need to talk and find a way of making such changes "generic"

6) References to 'action, 'alt-action, 'dbl-action need to be changed 
to use the new action object (e.g. action/on-click, action/on-alt-click, 
action/on-dbl-click)

7) Use (and possible extension) of the standard RebGUI UI objects: 
colors, sizes, behaviors & effects

8) Use (and possible extension) of the standard widgets objects: 
default-*

9) Removal of accessors/options that are unlikely to be used (.e. 
KISS principle)

That's probably enough to start with. ;)
Ashley:
15-Apr-2007
Minor bug fixes and enhancements. Two related specifically to 'at 
and 'after (the later now always triggers a newline). Also have a 
look at:

	http://www.dobeash.com/RebGUI/user-guide.html#section-4.2
	http://www.dobeash.com/RebGUI/user-guide.html#section-4.3

which provide easy ways of making small changes/variations.


Of course it's quite possible you've hit a bug in the layout logic, 
can you reproduce the layout problem just using the box widget?
Pekr:
16-Apr-2007
sorry for being so ignorant, not reading svn docs yet, but what is 
the easiest way to sync rebgui from svn to my hd location? I select 
all .r file, right mouse button press and then I choose "Save as". 
But couldn't it be done even for subdirs?
Ashley:
16-Apr-2007
do %rebgui.r
ctx-rebgui/on-fkey/f3: make function! [face] [print "Hi"]
...
display ...
...
do-events
Graham:
16-Apr-2007
>> do %rebgui.r
Script: "Untitled" (none)

>> ctx-rebgui/on-fkey/f3: make function! [face] [print "Hi"] display 
"" [ text "hello" ] do-events
Ashley:
16-Apr-2007
ctx-rebgui/build?
Ashley:
16-Apr-2007
This should do the trick then:


 append-widget [outcome: make rebgui/subface [size: 0x0 init: none]]

	display "" [outcome "blah"]
Graham:
16-Apr-2007
though my changes are getting fewer and fewer as rebgui improves 
:)
Ashley:
16-Apr-2007
Uploaded build#81 to SVN. Includes the following changes:

	Fixed label & text auto-sizing (now defaults to -1x-1)
	Spinner now accepts an empty starting value
	hilight-on-focus now works again

 [edit-list field password spinner] are now hilight-on-focus (area 
 remains caret-on-focus)
	edit-list fix

Also updated:
	http://www.dobeash.com/RebGUI/widgets.html
	http://www.dobeash.com/RebGUI/functions.html
Pekr:
18-Apr-2007
nice thing about RebGUI is, that styles are self-contained. Anyone 
can create new. I am with Anton here towards widget containing each 
its own implementation (method) of particular functionality, e.g. 
already mentioned set-disable, set-enable, as each widget (its author) 
knows best, how to implement it for the particular widget.
Ashley:
18-Apr-2007
Build #83 Released. For more information see:

	http://www.dobeash.com/RebGUI/release.html#section-8

and:

	http://www.dobeash.com/RebGUI/user-guide.html

Includes changes from builds 73-83, plus new dictionary files.
Pekr:
19-Apr-2007
Well, 1.0 is aproaching, and I am getting feeling it will miss on 
some very important styles. But that is also about how each of us 
is used to code his apps. I would like to know, what are you e.g. 
Graham missing mostly with your rebgui based CRM?
Graham:
19-Apr-2007
It wasn't apparent before, but appeared in rebgui beta-2
Ashley:
19-Apr-2007
spellcheck ... it's certainly something I miss in ALtME!
why e.g. Chat widget appeared?
 Carl asked for it first.


Graham, back to your modal windows and BEER compatibility issues 
... does this still happen with Beta 2? The reason I ask is that 
the initial modal window implementation was poor (in large part to 
get around REBOL/View limitations); but since REBOL/View 1.3 the 
View popup system has been completely rewritten (by Gabriele I think), 
and the RebGUI implementation is now simple and "standard" (in that 
it uses the same functions as VID). It may in fact have fixed the 
issues you were having.
Ashley:
19-Apr-2007
wasn't apparent before, but appeared in rebgui beta-2

 ... a symptom of modal windows now actually working the way they 
 are supposed to! ;)
Ladislav:
19-Apr-2007
Ashley: the suggestion: "Replace: error? try [] With: attempt [] 
is an error (in http://www.dobeash.com/RebGUI/design-guide.html)
PeterD:
21-Apr-2007
Works OK, I forgot to reload rebgui
Ashley:
24-Apr-2007
Build#92 uploaded to SVN. Adds event support to function code handlers 
as follows:

	ctx-rebgui/on-fkey/f3: make function! [face event] [
		prin "f3 "
		if event/control [prin "Ctrl "]
		if event/shift [prin "Shift "]
		print ""
	]
Ashley:
25-Apr-2007
Build#93 released and available. Includes all fixes from builds#83-93 
plus a new on-edit action handler. Release notes available here:

	http://www.dobeash.com/RebGUI/release.html#section-9
Ashley:
7-May-2007
It's doable, but note that caret placement does not work as described 
above (either in RebGUI or AltME). Remember that RebGUI also supports 
double-click highlighting (which might make the above request a moot 
point).
Robert:
11-May-2007
FYI: Lad and I have done a regression test environment for RebGUI. 
With this you can write test cases and have the environment run them 
for you. With logging etc.
Robert:
12-May-2007
We have added a more "spophisticated" I18N system to RebGUI, that 
can handle not only strings in layout but at all places in the program.
Pekr:
12-May-2007
I am not e.g. sure I would use native RebGUI localisation, because 
it goes from messages, UI elements, to of course data. And as for 
data, you have to establish the concept yourself.
btiffin:
15-May-2007
There are screenshots of a RebGUI and RebDB app posted at
http://peoplecards.ca/rebol/vidpics
btiffin:
15-May-2007
Thanks.  This is posted more to support Ashley, and show off RebGUI. 
 I'm a big fan of
RebGUI.  :)
Maxim:
15-May-2007
with SDK code? or rebgui and other public includes?
btiffin:
16-May-2007
I posted that for Ashley's sake.  RebGUI RebDB is a nice little app 
building combo.
Ashley:
16-May-2007
Thanks for the link, I've updated the RebGUI home page with a new 
"SItes using RebGUI" section (and removed the long-dead link to this 
AltME group as we don't seem to be broadcasting anymore ;(  )
DaveC:
16-May-2007
Printing should be a big priority at some point. Rebol will not be 
taken seriously in commercial circles until we can hook into printing 
systems directly. I know it maybe a boring area for developers to 
work on. It's it is a hard sell when one has a great looking RebGUI 
interface without a print option.

HTML has is limits, PDF generation is more of an option.
Ashley:
17-May-2007
directory selector that can access directories across the network

 We're limited to what "read %/" can pick up. Real solution is to 
 have a native request-dir func (and request-color, request-font).

background colour to an info field
 ... how about making it the same color as tooltips?

	field ctx-rebgui/colors/tooltip-fill

Any ideas
 ... looks like a RebGUI bug as I can reproduce it with:

	display "" [
		box tip "Some text"
		button [alert "Text"]
	]


Hmm, also noticed that tooltip and tooltip-time are dynamically escaping 
to the global context. Will look at this later today.
Ashley:
18-May-2007
Dave, easiest way to grab the latest SVN build (without using any 
client s/w) is via a simple REBOL script like this:


 write %rebgui.r read http://trac.geekisp.com/rebgui/browser/rebgui.r?format=raw


%rebgui.r (the complete merged distribution sans %tour.r) is now 
regenerated and uploaded every build.
Graham:
19-May-2007
There's a large medical trade show in Dallas next week.  About 170 
exhibitors.  Synapse EMR using Rebgui .. should be there too demonstrating 
a bidirectional interface to Schiller medical instruments.
Anton:
20-May-2007
(Ah heck, I'm in the RebGUI group... not sure how much of the above 
applies. I know some of it doesn't.)
Volker:
21-May-2007
on vid i attacgh a scroller and set that to 1.0 . maybe that works 
with rebgui too?
Ashley:
31-May-2007
effects/radius: 0 for group-boxes?
 ... effects/radius is global. It is currently used by:

	group-box
	panel
	tab-panel
	tooltip

and can be set as follows:

	ctx-rebgui/effects/radius: 0

Is there a way to make a horizontal scroll bar on a table?

 No, nor with text-list or area. Same issue with tab-panel. This is 
 quite deliberate and you may wish to refer to my comments from 10th 
 March this year headed, "A word on my design philosophy, ...", to 
 see why. ;)
Pekr:
1-Jun-2007
Graham - http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=disable-face.r


i have not thought about RebGUI integration yet, not sure it is applicable 
...
Pekr:
1-Jun-2007
Maybe Ashley could have quick look into it? It could be functions 
of RebGUI. But I agree that in fact it should be done in consistent 
way = adding such handlers to each style, so not sure Ashley would 
accept such "hack" into RebGUI ....
Volker:
1-Jun-2007
oops, its rebgui. may be diffferent there.
Ashley:
14-Jun-2007
Are these errors you're generating or your users are generating? 
I've got a dozen or so users who've been pounding away at a large 
RebGUI app for almost 2 years now, and the rebgui.log files on their 
PC's are pretty much empty. Might just be a case of YMMV ;)
Ashley:
14-Jun-2007
Anton, very cool. I'll think I'll add that trick to the [RebGUI] 
cookbook.
btiffin:
15-Jun-2007
Anton;  Yep, thanks.  This has opened up all kinds of RebGUI goodness.
Chris:
15-Jun-2007
Just ran RebGUI from the Desktop Demos folder:

** Script Error: yello has no value
** Where: append-message
** Near: get msg-color
amacleod:
20-Jun-2007
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.
amacleod:
20-Jun-2007
Can you mix vid stuff wih RebGUI s that I can perhaps use Henrick's 
list-view widget within rebgui?
Pekr:
20-Jun-2007
Unfortunatelly, before it was fully finished, RebGUI got some api 
changes, and I am not sure how long would it take to adapt.
Pekr:
20-Jun-2007
It was RebGUI only ....
Graham:
20-Jun-2007
http://trac.geekisp.com/rebgui/browser/widgets
Pekr:
20-Jun-2007
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.
Pekr:
20-Jun-2007
and as I said - grid.r will not work imo. There were some changes 
in rebgui and someone would have to adapt it.
amacleod:
20-Jun-2007
what is the last version of rebgui that it works on?
amacleod:
20-Jun-2007
the rebgui file does no seem to be formatted properly. Its all one 
long line.
amacleod:
20-Jun-2007
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
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
Looks like trac.geekisp.com/rebgui is down ...
Graham:
1-Jul-2007
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.
Ashley:
16-Jul-2007
After I arrow down and hit enter I get a newline as follows:

demonstrates ...
|area ...
area ...


RebGUI build#95 with default ctx-rebgui/behaviors (I deleted %ui.dat 
first to be sure).
Robert:
22-Sep-2007
Question: How hard would it be to write a LAYOUT function that will 
transform the RebGUI layout into a HTML page?


Of course for all the action code etc. we need to find a nice way 
(but won't be priority 1 for me). The idea is to have a way to get 
my RebGUI apps to the internet.


Of course if we would have a Rebol plug-in this would solve it a 
bit but I don't expect this within the next 6 months. And, plug-in 
will not fit all user needs.
Ashley:
23-Sep-2007
How hard would it be to write a LAYOUT function that will transform 
the RebGUI layout into a HTML page?

 Dynamic or static conversion? I think it's possible to map most VID/RebGUI 
 styles/widgets to CSS and HTML with Javascript required for a few 
 of the more complex widgets; so reproducing simple layout forms online 
 is trivial, more complex apps with tab-panels, etc a whole lot harder.


This reminds me of some of the R&D work I was doing with IBM back 
in the early 90's. Layouts were IODEFs (Input/Output definitions) 
where you hooked a data source (e.g. DB, Terminal, Webpage) to an 
output target (e.g. Screen, printer, Webpage) with zero application/logic 
changes. The entire app was stored in a code repository across a 
couple of simpe DB2 tables. Anyway, I digress.
Pekr:
24-Sep-2007
Graham - Cyphre's styles pack contains tabs with arrows, so that 
you can have more than is visible space. Horizontal only though ... 
You could contract Cyphre to do it for RebGUI ....
btiffin:
24-Sep-2007
Code at http://peoplecards.ca/rebol/ld2-rebgui.rUse it just like 
a tab-panel.  I use the text that would go  on a tab for a comment. 
 Use show widget/select-tab n  to switch between overlays.  The code 
 conditionally loads rebgui and the widget; so if you are modifiying 
anything, you'll have to unset ctx-rebgui for each test load.
btiffin:
25-Sep-2007
I use it to emulate the overlays in the Desktop Library, but I thought 
you might use it like 

overlay data [ "1" [tab-panel  data [ ]] "2" [tab-panel data [ ]] 
 with a couple of arrows, or buttons :) or menu options to determine 
what bank of tabs are shown.  As with many things, I may not be getting 
what you are really looking for, but I've grown fond of having overlays 
in RebGUI.
Graham:
26-Sep-2007
rebgui-widgets.r ?
Brock:
30-Sep-2007
Graham, I haven't ventured into the world of RebGUI other than the 
demos, but in View the data attribute of the radio button is none 
until selected, true when selected, then false when the selection 
is changed.
Brock:
30-Sep-2007
I hope RebGUI works the same way.
btiffin:
8-Oct-2007
Ashley;  Congrats on hiiting the RebGUI century mark.  Deserving 
of kudos.   Hip hip hooray!  :)
Louis:
22-Oct-2007
In the following script I would like to be able to click on a row 
of the table to populate the data entry fields, so that I can edit 
the data for the record displayed in that row. How do I do that? 
 

rebol []
do %sqlite.r
do %rebgui.r
unless value? 'ctx-rebgui [

    either exists? %rebgui-ctx.r [do %rebgui-ctx.r] [do %rebgui.r]
]
set-colors
tab-size: 120x55

fonts: reduce [font-sans-serif font-fixed font-serif "Courier New"]
if not exists? %id.txt [write %id.txt 1]
either not exists? %indodex.db [
    CONNECT/create %indodex.db

    SQL "create table base (ID, Title, Nama, Alamat, Kota, Propinsi, 
    Telefon, Handfon, Fax, Email, URL, Tgl_Nikah, Nota)"

    SQL "create table birthdays (ID, Nama, Jenis, Hubungan, Tgl_Lahir, 
    Agama, Nota)"
][
    CONNECT/flat %indodex.db
]

do show-cc: make function! [] [
set-colors
(i: to-integer read %id.txt)
label-width: 19
f-width: 59
display "IndoDex Ver. 1.0.1" compose/only [
            button-size 16x8
            margin 1x1
            space 1x1
            ;image %roladex.jpg 
            ;return
            label 7 "ID:" id: text (to-string i) 7
            pad 17
            ;label 13 "Nama:" 

            title: drop-list 30 #W "Pak" data ["Pak" "Ibu" "Sdr." "Sdri." "Drs." 
            "Dr." "Tuan" "Nyonya" "Nona" "Pdt."] 17x5
            nama: field f-width
            label label-width "Telefon:" 
            telefon: field f-width
            label label-width "Handfon:" 
            handfon: field f-width
            return
            pad 31
            label label-width "Fax:" 
            fax: fax: field f-width
            label label-width "E-Mail:" 
            email: field f-width
            label label-width "URL:" 
            url: field f-width
            return
            pad 31
            label label-width "Alamat:" 
            alamat: field f-width
            label label-width "Kota:"
            kota: field f-width
            label label-width "Propinsi:"
            propinsi: field f-width
            return
            pad 31
            label label-width "TglNikah:" 
            tgl_nikah: field f-width
            label label-width "Nota:" 
            nota: field 139
            return
            return

            t: table options ["ID" left .03 "Title" left .04 "Nama" left .2 "Telefon" 
            left .16 "Handfon" left .14 "Fax" left .14 "E-mail" left .15 "URL" 
            left .15] data (sql "select id, title, nama, telefon, handfon, fax, 
            email, url from base") 270x150 
            return
            button "Add" [
                either all [nama/text <> "" nama/text <> none][

                    SQL reduce ["insert into base values (?, ?, ?, ?, ?, ?, ?, ?, ?, 
                    ?, ?, ?, ?)" id/text title/text nama/text alamat/text kota/text propinsi/text 
                    telefon/text handfon/text fax/text email/text URL/text tgl_nikah/text 
                    nota/text]

                    insert t/data SQL "select id title nama alamat kota propinsi telefon 
                    handfon fax email URL tgl_nikah nota from base"

                    ;a: sql/flat "select id/text title/text nama/text alamat/text kota/text 
                    propinsi/text telefon/text handfon/text fax/text email/text URL/text 
                    tgl_nikah/text nota/text from base"
                    ;sql reduce [insert table/data a]
                    id/text: form i: i + 1
                    save %id.txt i
                    clear-text nama
                    clear-text alamat
                    clear-text kota
                    clear-text propinsi
                    clear-text telefon
                    clear-text handfon
                    clear-text fax
                    clear-text email
                    clear-text url
                    clear-text tgl_nikah
                    clear-text nota
                    ;show id
                    t/redraw
                    return
                ][
                    alert {Cannot save if "Nama" field is empty.}
                ]
            ]
            button "Update" []
            button "GUI Info" [

                print [id/text " " title/text " " nama/text " " alamat/text newline]
            ]
            button "DB Info" [
                print [TABLES newline]
                SQLite/col-info?: true
                newline
                print [SQL "select * from base" newline]
                print [SQLite/columns newline]
                print [ROWS "base" newline]
            ]
            button "Halt" [
                halt
            ]
            button "Quit" [
                quit
            ]
]
]
do-events
Graham:
25-Oct-2007
I'm sure there's a native rebgui way of doing this rather than using 
'layout !
btiffin:
30-Oct-2007
Johan;  RebGUI doesn't use pixels (well it does, but ...)  It uses 
a unit-size that can be set with the request-ui function.

See http://www.dobeash.com/RebGUI/user-guide.html#section-3.3for 
some details.
btiffin:
30-Oct-2007
Well, RebGUI allows for widget design but that can seem complicated 
at first.  Another method is judicious use of the span attributes 
and surrounding widgets with box elements set up like elastic widgets 
that will take/give all the space during a resize.


Or wait till Ashley reads this and responds as he always has the 
best and simplest advice.  :)
btiffin:
30-Oct-2007
Umm...check ctx-rebgui/layout  but the source for display does some 
other nifty things other than just create the face.
Ashley:
31-Oct-2007
Is there a way for 'display to just return the layout without viewing?
 a: ctx-rebgui/layout/only [button 10x10]
btiffin:
5-Nov-2007
I'd 'here here' on that one.  I've been mucking with a RebGUI based 
editor and getting a Find/Replace dialog working has been an excercise 
in hackery that I'm not a huge fan of.  (Much chasing of tail and 
subverting of code that I have too much respect for to allow the 
hackery.)
JohanAR:
13-Nov-2007
rebgui ver 93 seems to crash when a drop-list is double clicked
Graham:
13-Nov-2007
He meant rebgui-widgets.r
DanielSz:
13-Nov-2007
My rebgui UI gets unresponsive while some code is running. Since 
rebol doesn't have threads, I wonder what solution you'd recommend. 
Does the trick of assigning a rate of 0 to a GUI element work in 
RebGUI? Or would you perhaps separate the offending code and use 
"launch" to run a separate rebol process? Or maybe you know some 
other magic that I don't?
Ashley:
13-Nov-2007
RebGUI build#101 released. Release notes here: http://www.dobeash.com/RebGUI/release.html#section-10
Graham:
14-Nov-2007
Pekr commissioned it for Rebgui .. so it shouldn't be too far off 
should it?
Graham:
14-Nov-2007
it was a working implementation, but then Ashley changed RebGUI and 
broke it.  At that point the funding for Cyphre had already been 
completed as he had delivered a working grid.  Not sure if anyone 
is able to take it up again and get it working with the latest RebGUI.
Henrik:
15-Nov-2007
wish I had time to port LIST-VIEW to RebGUI. would seem useful there.
Robert:
16-Nov-2007
I think I need to provide my own "fork" of RebGUI again to Ashley. 
We have worked on the grid and extended it. Works pretty well.
Ashley:
16-Nov-2007
Robert, what build# did you fork on? From memory Cyphre had to make 
a lot of grid-specific changes to rebgui-edit.r
Robert:
17-Nov-2007
Ashley, I must say I don't remember. I will pack all files together 
and send them over to you. Ok?


Overall our RebGUI branch is very stable now. I'm using it in a quite 
complex application (1 MB of source code) and it's really nice.
DanielSz:
18-Nov-2007
Ashley, this is to express my thanks for rebgui. It is wonderful, 
and a *huge* relief from VID. I spent the week developing a GUI for 
a pet project of mine. Great documentation. Great demo. Great syntax. 
Pure enjoyment!!!
Pekr:
19-Nov-2007
ah, RebCode .... RebGUI :-)
Luis:
19-Nov-2007
I want write a chat system. 

 RebGui provide me the client gui. Somebody knows a chat server with 
 history?
(synapse-chat server source code is not available)
Luis:
27-Nov-2007
A nice feature in altme is hyperlinks in chat. ( http://www.google.com
) 
Any way to get this feature en rebGui ?
Luis:
29-Nov-2007
But R2 is here and now. I am coping & hacking  color.rebol.r  plug-in 
("Volker Nitsch" ) to rebgui ...
Graham:
29-Nov-2007
Yes, and there is no such facility in RebGUI.
JohanAR:
4-Dec-2007
I'm getting a really weird display error from an area where I try 
to set the face/text manually.. I'll try to paste the code to reproduce 
(RebGUI #101)
Kai:
7-Dec-2007
in your RebGui tour under Configure UI, Behavior you have a tabbable 
field - among the widgets in there is drop-list. The Grouping tab 
cintains drop-lists among other widgets, yet I cannot tab to them... 
What am I missing?
Ashley:
9-Dec-2007
It's a problem as tabbable and focus usually go hand-in-hand. Button 
had the same issue, and required quite a bit of hacking to get it 
working. Other non-focusable widgets have the same issue (e.g. check 
and radio-group). Keyboard navigation has been an issue for RebGUI 
(and VID) for quite some time ... just ask Pekr ;)
GiuseppeC:
13-Dec-2007
I have taken a deep look at the GUI System available for Rebol I 
and my choice has gone to RebGUI. I have taken a look to to list 
VIEW project too and I have a request/proposal: why don't you merge 
the list view into RebGUI. It is really very powerful, much more 
the standrd lists available in RebolGUI. It woul be an huge improvement 
and we will have a GUI system on steroids for DB projects.
Pekr:
13-Dec-2007
Dunno how far is Ashley with the merge of Robert's RebGUI stuff, 
but once it happens, RebGUI will get powerfull enough grid (although 
not so powerfull as list-view) ...
Ashley:
13-Dec-2007
why don't you merge the list view into RebGUI

RebGUI is 127Kb of source (just over 4,700 lines of code)
LIST-VIEW is 93Kb of source (almost 3,500 lines of code)


The largest RebGUI widget is currently TABLE with 10Kb of source 
weighing in at 329 lines. That's about the limit of simple that I'm 
prepared to deal with. The effort required to merge LIST-VIEW is 
huge (GRID less so as it's already a [albiet earlier] RebGUI widget).


I've had a few people say (via email) that it would be easy. OK, 
here are the source code links:

	http://trac.geekisp.com/rebgui/browser
	http://www.hmkdesign.dk/rebol/list-view/list-view.r

I'd like it merged and fully tested by Monday thanks. ;)
GiuseppeC:
13-Dec-2007
Ashley, my question is probably from a primer but someone told me 
that I can't use RebGUI and LIST-VIEW in the same project in 2 different 
windows. Would it be easier to make the two projects compatible instead 
of merging them ?
Ashley:
13-Dec-2007
someone told me that I can't use RebGUI and LIST-VIEW in the same 
project in 2 different windows.
 They were wrong:

do %rebgui.r
do %list-view.r

display "" [
	text-list data [a b c]
	button [
		view/new layout [
			list-view with [
				data: [a b c]
			]
		]
	]
]

do-events
GiuseppeC:
13-Dec-2007
Here it is what he has written: HENRIK: I don't think it can when 
using when using RebGUI, but I honestly don't know if you can mix 
VID and RebGUI windows. LIST-VIEW only works with VID.
BrianH:
13-Dec-2007
RebGUI redefines many words that are used by VID, afaik. They don't 
play well together - RebGUI is more of a replacement.
Ashley:
13-Dec-2007
The only words that RebGUI redefines are some of the request- functions; 
and the 3rd last line of %rebgui-ctx.r does the following:

	system/view/screen-face/feel: none


which disables the global events system (used by insert-event-func) 
... so yes, RebGUI and VID can run side-by-side; which for scripts 
run from the console is OK, but for encap stuff is a bit redundant 
(having to encap VID and RebGUI source). RebGUI was designed as a 
replacement for VID *in encapped apps*.
Luis:
13-Dec-2007
list-view in rebgui:

rebol []
do %rebgui.r
do %list-view.r
				
display "" [
	text-list data [a b c]
						b: box 50x50 sky
						button []
		]

view/new layout [
			lv: list-view with [
				data: [a b c]]]
unview

b/pane: lv	
b/pane/offset: 0x0 
show b
do-events
1201 / 167112345...1112[13] 14151617