• 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
r4wp4382
r3wp44224
total:48606

results window for this page: [start: 33801 end: 33900]

world-name: r3wp

Group: !RebGUI ... A lightweight alternative to VID [web-public]
Ashley:
25-Aug-2009
hence no further ability to mix VID with RebGUI
 ... correct.
promise of 

much lower" memory requirements, but the opposite is true" ... not 
quite. A lot has been added, in particular 4 inline images, without 
noticeably increasing memory. Also remember that many of the improvements 
(reduced dependency on View/VID mezz code) will only be apparent 
when using RebGUI with enface/rebface (tour.r uses 13,817Kb under 
rebview here, and 11,223Kb under rebface). Lastly, reduced memory 
usage is not apparent with tour.r as it doesn't reuse a lot of the 
same widgets (i.e. tour.r is a good reflection of "base" memory usage 
not runtime memory usage). If I find the time I'll knock up an example 
that demonstrate runtime memory differences.
Graham:
25-Aug-2009
And toggle?
Ashley:
25-Aug-2009
there were somethings I could not do in rebgui so I would switch 
to using ViD in the same application

 ... there shouldn't be any. Both VID are RebGUI are just "face factories" 
 ... feed them a spec and they produce a face object. All other functionality 
 is neither VID nor RebGUI specific. I get a lot of emails asking 
 "how do I do x in RebGUI", but 99% of them are really "how do I do 
 x in REBOL", or, "how do I use the SDK to do x" type questions.

I use VID to do a print preview ... using a draw dialect

 ...RebGUI's use of the effect facet (and hence draw) is no different 
 to VID's. Also note that 'draw is available as a native from the 
 console (i.e. you don't event need VID or RebGUI to use it).
Ashley:
25-Aug-2009
And toggle?

 ... does it need to support more than two states? Does it need to 
 support text (like a button) and images (like icon)?
Graham:
25-Aug-2009
different text and different colours for the buttons
Ashley:
25-Aug-2009
Ah, I confused the toggle and rotary widgets. OK, I'll add toggle 
(text button version only).
Ashley:
25-Aug-2009
what's wrong with set-state [ block of widgets to disable ] 
 ... do you really mean set-disable and set-enable?
Ashley:
25-Aug-2009
options [info] was replaced with set-disable and set-enable .. and 
you can specify disable like this as well:

display "Test" [
	field
	f: field disable
	field
	button "Off" [set-enable f]
	button "On" [set-disable f]
]
Graham:
25-Aug-2009
I've been looking at the jqGrid ... http://www.trirand.com/jqgrid/jqgrid.html
and many of these grids use a data source instead of a static block 
of data.
Graham:
25-Aug-2009
And let the widget handle the "loading ..." indicators
Graham:
25-Aug-2009
What I do at present is use a tab-panel and have the loading gif 
in one, and then replace that panel with the table once the data 
arrives
Graham:
25-Aug-2009
I presume altme uses an iterator function as well... I just switched 
from 1000 to 4000 in preferences and now scrolling is a dog.
Ashley:
25-Aug-2009
Try this on 10, 100 and 1,000 rows:

d: copy []
loop 20 [insert tail d reduce [random 10 random 10]]
s: now/time/precise
display "A" [
	table 20x100 options ["A" left .5 "B" left .5] data d
]
print now/time/precise - s

seems to scale pretty well here (on a Mac).
Ashley:
25-Aug-2009
Back to your request-value question, does the prompt for:


 request-value "Enter the url for your website here. It looks h t 
 t p ://www.site.com"


appear on 3 lines? If so, what would you enhancement request (vertical 
layout option) do? (not wrap the prompt and extend the field width 
to match prompt text width?)
Graham:
25-Aug-2009
In my app, I have 24 rows, and there is a definite lag belween the 
scroller and what I see on screen.
Graham:
25-Aug-2009
ie. the scroller lags behind the mouse as it drags it up and down.
Ashley:
25-Aug-2009
Yes and yes.
Ashley:
25-Aug-2009
And before you ask, back-porting just the scroller is not viable.
Ashley:
25-Aug-2009
Back to your request-value prompt wrap issue ... I just tried it 
under WinXP with build#212 and I get 3 wrapped lines of text. Does 
your requestor have a big blue question mark icon in the top-left 
corner?
Graham:
25-Aug-2009
Looks like the scroller issue goes back a while .. I tested the version 
where you had the color changes and that is also fast.
Graham:
25-Aug-2009
My main screen was ViD based as it used a toggle widget .. and then 
the rest was rebgui
Graham:
25-Aug-2009
It was written a few years ago and just recently revamped
Graham:
25-Aug-2009
And when I tried to port it to the latest build .. then I discovered 
vid/rebgui were no longer bed mates
Ashley:
26-Aug-2009
Autoscroll and request-edit issues noted.
Ashley:
26-Aug-2009
Build 213
- layout moved to global context
- renamed request-edit to editor
- renamed set-enable to enable
- renamed set-disable to disable
- added in-widget function
- enable/disable now accept block of faces
- fixed arrow/list bug
- changed popup auto-hide from away to click
- fixed menu
- added toggle widget
- changed hard-coded green/red to use colors/true & false
- updated tour.r and RebDOC.r
Ashley:
26-Aug-2009
Example usage of new in-widget func and toggle widget:

display "Sample" [
	field
	field

 button [set-text second in-widget face/parent-face 'field "Hello"]
	toggle green data ["A" "B"] [print face/data]
	toggle data ["AA" "BB"] options [on] [print face/data]
]
Pekr:
26-Aug-2009
- menu and lists - much better behaviour with auto-hide on click. 
One small note to menu - if you have one branch opened and you move 
to the sibling, it should not require click to have the first one 
closed, and open the one under the mouse pointer. But current behaviour 
is accpetable enough, it is just if we would like to have OS exact 
behaviour ...
Pekr:
26-Aug-2009
- editor (and not only editor) - I can see that when hilighting, 
REBOL is not doing it all that correctly. Try to open editor, type 
in few lines (or just paste some text in there), and then try to 
mouse hilite. It works, but stops to hilite, when you move your mouse 
out of current window region. It should work even outside, at least 
it is what OS does. Open Notepad to compare ... it should not be 
difficult to do, and would improve usability ...
Graham:
26-Aug-2009
the hilight issue is one I noted on the tracker, and exists for fields 
as well
Maarten:
28-Aug-2009
Hm, I think I tried that. I'll retry and post a bug here if it doesn't 
work
marek:
5-Sep-2009
Just tried to create custom widget (213 and 212 distibutions). Simply 
running %create-distribution.r crashes because %btn.r and %chat.r 
widget files are missing. They   must be included in %rebgui.r file 
as it comes. I will try to recreate missing widgets from %rebgui.r 
to solve this problem for now. And hopefully will be able to add 
my custom widget after that.
marek:
5-Sep-2009
Just confirmed that btn and chat widgets are included in supplied 
%rebgui.r file but corresponding widgets files are missing in widgets 
directory. I'm sure Ashley will fix it one day. My custom widgets 
work ok now with 213.
Graham:
5-Sep-2009
and you checked against the SVN?
marek:
5-Sep-2009
I found another bug in version 213. 

Yesterday I managed run %create distribution.r after recreating %btn.r 
and %chat.r widgets first. Today I found out that some requestors 
don't work:-
>> alert "test"
** Script Error: image has no value
** Where: layout
** Near: image images/alert 
text 60 "test"
>> 


It works from original %rebgui.r file. It seems that images exist 
in re-created one, but they cannot be found. Unfortunatelly, I've 
got no idea how to fix it
Ashley:
7-Sep-2009
Build 214
- updated toggle (2x2 edge on select)
- added missing btn widget
- added missing chat widget
- added flash requestor
- added request-about
- renamed request-password to request-pass

Flash is used as follows:

	...
	flash "message"
	...
	hide-popup
	wait []
	...

request-about is used as follows:


 request-about/url "MyProj" 0.0.1 "Copyright (c) MyCo" "www.site.com" 
 ; or a url!


Note the logo is located in ctx-rebgui/images/logo and defaults to 
the info icon ... replace with your own logo image as follows:

	ctx-rebgui/images/logo: load %my-logo.png
Graham:
7-Sep-2009
I must have an old version of rebgui .. I aways get none on ctx-rebgui/edit/hilight? 
  and copy-selected-text is not working for me either.
marek:
7-Sep-2009
There are at least 3 problems needing fixing in 214 (and 213) version.


When using drop-list or edit-list if one will hit <TAB> button when 
list line is hilighted stack overflow eventuates. One, of course, 
doesn't need to do that, but it may happen.


Slider button, as presented in RebDOC, bombes out for simple reason. 
Formula used is [slider] but minimum required seems to be [slider 
[]] - compulsory action needed.


In RebDOC editor requestor hitting "Open" or "Save" button triggers 
feature-na script error.
Ashley:
11-Sep-2009
The "tab out of list" and "rate" bug fixes are still WIP.
marek:
15-Sep-2009
There is strange bug introduced in build 208 and still there. I checked 
and 207 seems to be OK.


When tabbing table and edit-list, edit-list becomes not accessible 
when first line of table gets selected. Selecting any other table 
line clears the problem.
I'm on linux Mint. Can anybody confirm my findings?
 

>>display "" [edit-list data [] table options ["a" left 1.0] data 
[1 2 3]] do-events  ;-- tab a bit, please
Ashley:
16-Sep-2009
Er, this is weird.


I filled in a domain transfer request for Webarama, and because it 
was a .com they asked for an Authorization code from Webhero ... 
which I asked for, obtained and provided. My Webarama domain list 
includes dobeash.com, says its active and due for renewal next year. 
Webhero then said they were going to autobill me for another year 
of hosting etc so I cancelled all my services with them figuring 
that once that occured I'd [eventually] be left with a blank www.dobeash.com 
site which I'd rebuild from backup. That was several days ago.


Any ideas on what I should do? (it's after 5pm here so I can't contact 
Webarama to confirm ownership).
marek:
17-Sep-2009
Thanks Graham for confirming. Thanks Ashley for quick fix of the 
last problem.

Problem I tried to explain before still remains. Lets explain it 
better, if I can.


>>display "test" [table options ["a" left 1.0] data [11 22 33] field 
edit-list data [1 2 3] field] do-events

If one selects first line in table and tries to <TAB> around one 
gets stack on edit-list (drop-list too).

If, on the other hand, one selects any other line of table, edit-list 
gets focus and tabbing continue to work, but only after it reaches 
table again.
I hope it's not too hard to fix. Thanks.
marek:
17-Sep-2009
I will try my luck again with this 2 items.


When using edit-list or drop-list, there is a way to crash it. Just 
click on the widget, hilight any line on the list and press <TAB>.

>>display "" [edit-list data [1 2]] do-events ;;-> stack-overflow 
error message pops up.


Table widget has different gap in the last column on the right without 
and with the scroller. It' only cosmetic thing and maybe it is customary 
to be like that.

>> display "" [table options ["a" right 1.0] data [1] table options 
["b" right 1.0] data [2 3 4 5 6]] do-events

Can anyone confirm, please. Ashley?
marek:
19-Sep-2009
Another stumble block in my slow attempt to write my little program. 

Try to select edit-list and hit enter key.

>> display "" [table options ["a" left 1.0] data [] edit-list []] 
do-events ;-- works as it should

>> display/dialog [table options ["a" left 1.0] data [] edit-list 
[]] ;-- window disappears

It maybe related to the table problem I mentioned before.
marek:
23-Sep-2009
One more test to help with debugging. It works with build 207. It 
stops working with buid 208. At least for me.


>>display "" [field table options ["a" left 1.0] data [1] field] 
do-events


Click on field and try to tab around. You can't even select any field 
any more (208). Using empty table is even worse. With 2 rows at least 
it works, but one may need to grow table gradually.
marek:
23-Sep-2009
It may be last one, I don't know.


display "" [table options ["a" left 1.0] data [1 2] [set-text el 
first face/selected] el: edit-list data []] do-events


Select row 1 and row 2. Build 205 works ok. Build 207 doesn't with 
first row of table - nothing shows on edit-list. Replacing edit-list 
with field makes it work ok in 207 (and up) again.
Pekr:
28-Sep-2009
if someone creates content, we can create rebgui.com and host it 
on my server - the process would not take longer than one day ...
Pekr:
28-Sep-2009
Apart from that, let's hope that in few months, we are back to R3 
GUI, and that is where the most of interest of outer community is 
going to be ;-)
Carl:
28-Sep-2009
He made a note above about a problem... and cancelled the entire 
account.
marek:
28-Sep-2009
Serious bug introduced in build 218 or even 217.

Drop-list and edit-list widgets produce past-end error on list selection. 
Tested tour.r, RebDOC.r and in terminal. Nothing works.
marek:
28-Sep-2009
This is interesting bug.


>>display/dialog "" [edit-list data ["a..." "b..."]] ;; try to enter 
something starting with "a" or "b"
** Script Error: Invalid path value: lines
** Where: wake-event
** Near: pf/lines: to integer! pf/size/y /


Any other start is OK. No modal mode is OK. Happens with 218 (less 
selection bug) and 216 as tested by me.
Ashley:
30-Sep-2009
re: dobeash.com
	- transfer of domain OK
	- ftp of backup content to domain OK
	- http access ... not working ... will investigate

R3 GUI is very important to me as wel
 ... ditto!!!


All these changes appear to have degraded the usability of rebgui 
somewhat

 ... remember that these are development builds, only accessable via 
 SVN. I was hoping to stabalize and "release" by end of this month 
 (September), but the domain issues I've been having have probably 
 pushed that back a month.
Bobik:
4-Oct-2009
Hi Ashley, i would like ask you how to make new widget after you 
have removed function append-widget. I have not found any function 
to do it... sorry i am a dommies and may be there similar func exists 
 :-)
Pekr:
6-Oct-2009
Hmm, on-click gets face argument. The only thing I am able to come-up 
quickly is

box red 10x10 on-click [print face/offset]


But that just gives you face offset. From face/offset and face/size, 
you can get idea about the area, but not sure about the mouse event 
offset ...
Pekr:
6-Oct-2009
box red 10x10 on-click [print mold get in face 'feel]

make object! [
    redraw: none
    detect: none
    over: none
    engage: func [face act event][
        case [
            event/double-click [face/action/on-dbl-click face]
            event/type = 'time [face/action/on-time face]
            act = 'up [face/action/on-click face]
            act = 'alt-up [face/action/on-alt-click face]
            act = 'key [
                face/action/on-key face event
                face/action/on-edit face
            ]

            act = 'scroll-line [face/action/on-scroll face event/offset]

            act = 'scroll-page [face/action/on-scroll/page face event/offset]
        ]
    ]
]


Now how to get into the feel, and hook somehow into 'engage method 
:-)
Bobik:
8-Oct-2009
Steeve it sounds good! FYI:   I needed widget "box" with drag and 
drop features :-) I know it is possible to make new widget atc.. 
So after append-widget was removed, new widget creating is a little 
bit  cumbersom  and i have tried to catch FAE values directly in 
rebgui dialect...:-) I think there are more cases where to catch 
FAE would be useful for app programmer......
Graham:
15-Oct-2009
I'd like to see a generic accordion widget if possible.   So, if 
you had 4 "tabs" in the accordion, then each tab is associated with 
a layout.  If you click on a tab, the others collapse, and the clicked 
on one expands to show the hidden layout underneath.  If you click 
on an open tab, it should collapse .. so that the bottom tab's layout 
is exposed.


I've hard coded this stuff before but was wondering if a generic 
one could be written.
shadwolf:
19-Oct-2009
ok but with new vid  in R3  what will be the future of rebgui ? ashley 
do you plan to keep rebgui as an enhancement and laboratory ground 
for new kind of widgets design in the new VID ? Or does the new VID 
will kill  rebgui ? What will be the link betwin R3/VID and rebgui 
do you think some of the fun widgets from rebgui will be adapted 
by default in R3/VID ?


If you remmeber i asked this like 1 year ago to carl and didn't get 
any reply...
Ashley:
22-Oct-2009
re: RebGUI and R3/VID. I'll probably put something up on my website 
on this topic as I get asked this quite a lot. Basic thinking at 
this stage is:

	I need to create SDK GUI apps for Windows and OSX
	R2/RebGUI is the only practical alternative at present for *me*
	I'd love to use R3/VID to create SDK GUI apps today
	This probably won't be possible for quite some time

 If and when this *is* possible I'll port all my apps over to R3/VID

 To do this I'll either create a compatibility layer that lets RebGUI 
 apps run on R3/VID, or

 Write a conversion script that tries to convert (if possible) RebGUI 
 scripts to R3/VID

 I'd hope R3/VID is complete enough that it doesn't require any of 
 RebGUI's basic widgets!
Graham:
3-Jan-2010
I often have the need to set a date on a field ... and use a symbol 
to invoke the request-date .. .but this usually means I have to name 
the date field like this


datefld: field 25 symbol data 'look on-click [ use [d][ if d: request-date 
[ set-text datefld form d ]]]


To avoid naming the datefield, I have this function which returns 
the prior face


get-prior-widget: func [ f
    /local pane priorface
][
    pane: f/parent-face/pane
    priorface: pick pane -1 + index? find pane f
]

and here's a request date that uses it


request-date-priorface: func [ f /local d ]
[
    if d: request-date [
        set-text get-prior-widget f form d
    ]
]

so we can now do:


 field 25 symbol data 'look on-click [  request-date-priorface face 
 ]
Ashley:
3-Jan-2010
1) set-values.r ... removed in build#212. Plan is to add accessors 
(e.g. add, update, delete) to each "complex" widget.

2) named widgets ... don't forget the 'in-widget function, it does 
what you want above (see biuld#213 release note from Aug 27).

3) funct ... you'll have to build your own collection of SDK+ mezz 
funcs as the SDK diverges further from R3 (and R2 releases without 
an SDK update).
Graham:
3-Jan-2010
and how to set  a check-group?
Graham:
3-Jan-2010
Just looked at in-widget, and it does different things. I want to 
find a specific widget ...
Graham:
3-Jan-2010
And this doesn't seem to work either


>> display "" [ gb: group-box -1x-1 data [ t: table "test" options 
[ "a" left 1 ] data [ 1 2 3 ]] return button "Get" [ probe get-values 
gb ]] do-events
[[]]
Graham:
4-Jan-2010
I've managed to incorporate the google spell check into rebgui's 
spell checker... but it is slower of course but more accurate.

Some optimizations would be to add correctly spelled words unknown 
to the local dictionary automatically, and to also spell check a 
number of words at the same time ... it probably makes not much difference 
to the google spell checker, and is less expensive in terms of web 
calls.
Graham:
5-Jan-2010
What I am doing now .. is scanning all the words in the face, and 
checking them against the dictionary.  If not found, I collect them 
all and then submit all of them to google.  This then gives me lists 
of choices for each word which is not recognized.
jack-ort:
24-Feb-2010
Hi!  maybe I should ask this in the "I'm New" group.  Wanted to try 
out RebGUI for my 2nd REBOL project.  I'm stuck early on trying to 
refresh a table based on a SQL query in a parent window when closing 
a child window that would have added a record to table.  I've gotten 
the examples on click and away events to work, but do not understand 
how to use focus events apparently.  Can someone point me to some 
sample code that would help w/ moving focus from window to window 
and refreshing tables?  With that, I think most of my GUI problems 
would be solved. 

TIA!  -Jack
jack-ort:
25-Feb-2010
Ashley - that got me started, but where I get stuck is on the syntax 
to refer to a widget *in another window*.  In the sample below, I 
want my "Save" button to not only write a new record to my SQLite 
db, but also to refresh the query that loads the table in the parent 
window (OR, can I refresh the parent window table after the child 
window closes and the focus returns to the parent?  I cannot seem 
to trigger any focus events.).  I was trying to wrap my windows in 
objects, which are new to me also, so I'm sure that is part of my 
problem.  Obviously my attempt to refer to my table by this path 
(adddelusers/gui/tbl/data) is incorrect, since I get this error:

** Script Error: Invalid path value: tbl
** Where: on-click

** Near: insert adddelusers/gui/tbl/data (sql/flat "select * from 
users order by userid") adddelusers/gui/tbl/redraw

adddelusers: context [
			title: {Add/Remove Users}

   tbldata: copy esql/rtn [sql/flat "select * from users order by userid"][]
			gui: [

    tbl: table 125x50 options ["UserID" left 0.2 "Password" left 0.8] 
				return
				button "Add User" 30 on [
										click [display/parent adduser/title adduser/gui ]
									]
				button "Remove User" 30 [alert "need to add code here..."]
						]	
]

adduser: context [
		title: {Add User}
		gui: [	
				user:	field text "username" return
				pwd:	field text "password" return

    button "Save" [sql compose ["insert or replace into users values 
    (?,?)" (to-word user/text) (to-binary checksum/secure pwd/text)]

         insert adddelusers/gui/tbl/data (sql/flat "select * from users order 
         by userid") adddelusers/gui/tbl/redraw
								unview adduser/gui ]
				button "Cancel" [unview adduser/gui]
		]
	]
jack-ort:
25-Feb-2010
Ashley - that got me started, but where I get stuck is on the syntax 
to refer to a widget *in another window*.  In the sample below, I 
want my "Save" button to not only write a new record to my SQLite 
db, but also to refresh the query that loads the table in the parent 
window (OR, can I refresh the parent window table after the child 
window closes and the focus returns to the parent?  I cannot seem 
to trigger any focus events.).  I was trying to wrap my windows in 
objects, which are new to me also, so I'm sure that is part of my 
problem.  Obviously my attempt to refer to my table by this path 
(adddelusers/gui/tbl/data) is incorrect, since I get this error:

** Script Error: Invalid path value: tbl
** Where: on-click

** Near: insert adddelusers/gui/tbl/data (sql/flat "select * from 
users order by userid") adddelusers/gui/tbl/redraw

adddelusers: context [
			title: {Add/Remove Users}

   tbldata: copy esql/rtn [sql/flat "select * from users order by userid"][]
			gui: [

    tbl: table 125x50 options ["UserID" left 0.2 "Password" left 0.8] 
				return
				button "Add User" 30 on [
										click [display/parent adduser/title adduser/gui ]
									]
				button "Remove User" 30 [alert "need to add code here..."]
						]	
]

adduser: context [
		title: {Add User}
		gui: [	
				user:	field text "username" return
				pwd:	field text "password" return

    button "Save" [sql compose ["insert or replace into users values 
    (?,?)" (to-word user/text) (to-binary checksum/secure pwd/text)]

         insert adddelusers/gui/tbl/data (sql/flat "select * from users order 
         by userid") adddelusers/gui/tbl/redraw
								unview adduser/gui ]
				button "Cancel" [unview adduser/gui]
		]
	]
jack-ort:
25-Feb-2010
sorry for the double-send.  and I realize that in cleaning up the 
code I left out the initial table load using the "tbldata" in the 
first window, but I think the rest of the sample represents my issue.

TIA for helping a newbie!
Graham:
25-Feb-2010
syntax is

on-click [] and not on [ click [ ] ]
jack-ort:
25-Feb-2010
Graham - either syntax works.  I had been testing several events 
(away, over, etc.) and Ashley's documentation mentions that you can 
put them all inside a single "on [...]" block.

I find I can refer to my parent table easily with a short path, by 
just doing "insert clear tbl/data ...." from the child window "Save" 
button action and I get what I want.  BUT, that means I didn't encapsulate 
my table name at all like I had hoped within my adddelusers object. 
 I would like to setup each window display with generic widget names, 
and not worry about uniqueness - that's why I thought about trying 
to wrap the guis in objects.  Can that be done?  and if so, will 
I be back to my problem of not knowing how to reference an encapsulated 
widget on another window?

Thanks!
Graham:
25-Feb-2010
If you're going to try and encapsulate inside a context, why not 
provide the method to update the gui inside the context?
jack-ort:
25-Feb-2010
Thank you, Graham, for the continued feedback.  I'm ashamed to say 
I don't even understand your last comment - this newbie will have 
to go research "closures".


Your previous comment - that sounds like a good approach - I'll have 
to learn more to do that.  I can only learn something by trying to 
use it to solve real problems; the bad news for me is that in this 
case I'm new to GUIs, REBOL and RebGUI.
Andreas:
10-Mar-2010
and the rebgui demo app using build 117 from the viewtop also works 
fine
Henrik:
11-Mar-2010
Gabriele, ok. also try to simply click the first style and hold down 
the down cursor key. then you will scroll through all styles.
BudzinskiC:
16-Apr-2010
Thanks a lot :) Before I do something completely wrong again... I 
also want to scroll to a certain line in the text area if possible. 
My approach now would be to see if I can somehow see how many lines 
of text are displayed in the text area, calculate the percentage 
of the line I want to scroll to based on this total number of lines, 
divide that by 100 and use it for a/pane/data. Right..?
Graham:
16-Apr-2010
but if you can get the font name, font size you should be able to 
create some text and then get the sizes from that
BudzinskiC:
18-Apr-2010
Thanks Ashley. That only shows the height for the default font though. 
I am displaying three text areas with different font sizes, so I 
set the font size in the areas directly. I had to use an invisible 
text area now anyway though because I forgot that to be able to scroll 
to a certain line in the text area I have to find out in which line 
a certain word, to which I want to scroll, actually is :) So now 
I made a test text area for this and positioned the "real" text area 
on top of it so that the test text area is completely covered by 
it. I copy the text up till the word I want to scroll to into the 
test text area and then look at the text size of the test text area 
and use that information to scroll the "real" text area to this word. 
It isn't working correctly yet but it should so I guess I just made 
a stupid mistake somewhere, have to look at it again tomorrow.
Claude:
9-May-2010
thanks Ashley,   do you find a way to correct Build 218 and drop-list, 
menu etc....    ?
Thorsten:
22-May-2010
I want to give Rebgui a try for an app i need to do. So, i need a 
tree in there, which should be filled from database request  when 
the app starts. Not via button click.  Can anybody give me a small 
example how to achive this. Searched the docs, but couldn't find 
something like that.  And be kind with me as i am not too familiar 
with Rebgui till now. I downloaded build 218. What i tried so far 
is set-data via button, but that doesn't seem to work.  A sample 
would drastically shorten my way to get this working. Thanks in Advance!!
Pekr:
23-May-2010
Ashley - what is your status re RebGUI and its future? It seems to 
me, that R2 brach is not going to be further developed? And also 
- I noticed you mentioned some flawor of even more simplified RebGUI 
like engine for R3. Is this still a plan, or do you wait for how 
R3 VID emerges?
Ashley:
23-May-2010
what is your status re RebGUI and its future?

 ... RebGUI does most of what *I* need it to do at present, but I'd 
 really prefer to be using R3 + SDK + Cool looking R3 GUI. I'm experimenting 
 with a minimalist GOB-based R3 GUI, but it's more an intellectual 
 pursuit to see how minamalist (and functional) I can get it ... so 
 don't hold your breath.
Thorsten:
24-May-2010
I have a menu as the top widget in my window. I think i tried every 
possible combination of the sizing attributes (#LOV, #HW, margin, 
tight and space). The menu sizes to nearly the full width of the 
window but keeps a distance (seems like 4x4)  from the rigth window 
border. Is there any explanation for this space on the right??
Ashley:
24-May-2010
See margin, tight and pad ... http://www.dobeash.com/RebGUI/user-guide.html#section-3.4
AdrianS:
25-May-2010
Nick, are the samples using RebGUI strictly intended for v117? I've 
tried a few with 118 and they seem to crash when poking around the 
UI.
Ashley:
26-May-2010
... which is still the latest official release ( http://www.dobeash.com/download.html
)


118 was the commencement of a makeover but as Graham says broke a 
lot of things. The 118 efforts morphed into an almost total rewrite 
of 'the engine' (everything bar the widgets) and were about 90% complete 
(build 218) when R3 gobs hit the scene (a game changer IMHO).
Thorsten:
27-May-2010
No typo or not mine. It is a development build from Ashley and Graham, 
not GA.  Ashley mentioned it (90% finished rewrite) in his previous 
post.
Graham:
16-Aug-2010
ok, include table into the tabbed block and use the set-focus from 
the svn works so far
RickH:
21-Aug-2010
Hi, 


Am just moving over here from TCL-land and would like to try RebGUI. 
However, there seems to be two versions: one downloadable from the 
Dobeash site (rel #117) and on resident in SVN (#218).


Which is the one with which to go; and if the version on SVN, what 
is the method to down load an use?

Any assistance would be appreciated.

Rick
Graham:
21-Aug-2010
The SVN version is incomplete and was a rewrite which was not finished
Gregg:
21-Aug-2010
And of course, VID is still valid as well.
Gregg:
21-Aug-2010
VID is the native REBOL GUI dialect. If you're just getting started, 
and doing basic UIs, it's worth a look.
Ladislav:
26-Aug-2010
(I suppose that you are mistaking VID and RebGUI)
Ashley:
26-Aug-2010
Max, fonts should work the same between View, VID and RebGUI. Please 
provide a small snippet of RebGUI code that demonstrates the problem.
Anton:
27-Aug-2010
No, he solved the problem with Linux by providing an absolute filepath 
to the font.

The problem is trying to use VID's LAYOUT (and maybe also VID's VIEW) 
after initialising RebGUI.

If I remember correctly, RebGUI unsets 'LAYOUT, or redefines it for 
its own use. So it won't work anymore as you expect with VID.
Ashley:
27-Aug-2010
RebGUI (b117 and later) does *not* redefine layout. It does however 
redefine alert, confirm and many of the request-* functions.

The fact that starting a fresh console session and entering:


 view layout [box black 100x100 effect [draw [pen white text "Hello"]]]


no longer works on the linux and Mac ports of REBOL is I believe 
a REBOL/VIew bug (despite a workaround that may work for VID but 
not RebGUI).
Anton:
28-Aug-2010
Oops, sorry Ashley, I was wrong about RebGUI unsetting LAYOUT. (It's 
been a long time since I tried RebGUI.)

MaxV, tell us the rebol version you are using (system/version) and 
the RebGUI version.
Show us the full code which does not work with RebGUI.

I noticed your second example (using RebGUI) did not include the 
code which sets the font path.
Just to be sure, can you confirm you tried it together?
shadwolf:
28-Aug-2010
nickA didn't provided a font information in his draw block plus he 
didn't gived a different color... plus R2 VID sux with fonts and 
specially under linux.
NickA:
7-Sep-2010
MaxV,  this works perfectly for me on Ubuntu 10.04.1, using your 
rebol.deb installer - I ran Ubuntu directly from the CD created using 
the most recent Ubuntu download, installed REBOL using your Ubuntu 
package, and ran this script.  Perhaps your version of RebGUI is 
different than mine?  This version loads rebgui.r from an http:// 
link:

rebol []
do http://re-bol.com/rebgui.r
font1: make face/font [
    name: "/usr/share/fonts/truetype/freefont/FreeSans.ttf"
    size: 11
    style: [italic bold]
]
example: compose [
    font (font1)
    pen red
    text "Hello World!"
]
display "Example" [
    style 20x20 data [
        box snow 100x100 effect [
            draw example
        ] 
    ]
]
do-events
quit
Graham:
13-Sep-2010
and don't change back?
33801 / 4860612345...337338[339] 340341...483484485486487