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

World: r3wp

[!RebGUI] A lightweight alternative to VID

Claude
13-Sep-2006
[4742]
i do not be able to suscribe to track.geekisp.com  to have a login 
:-(
Graham
13-Sep-2006
[4743]
Ask Ashley for a login name
Ashley
13-Sep-2006
[4744]
Noted.
[unknown: 9]
13-Sep-2006
[4745]
Me too.
Ashley
13-Sep-2006
[4746]
I've forwarded both requests to Jaime, shouldn't be longer than a 
day or so.
Graham
14-Sep-2006
[4747x4]
do %rebgui.r

display "table test" compose/deep [

 tl: table 100x50 #W options [ "Item" left .99 ] data [ "A" ] return

 text "Select item, then click on probe selected.  Remove and then 
 try again." return
	button "Probe" [ probe tl/selected probe tl/picked ]
	button "Remove" [ clear tl/data tl/redraw ]  
] do-events
After all the elements are removed, and no row is highlighted, picked 
still => [1] and selected goes from [ ] to [none]
This is anomalous and inconsistent.
So, there is no way of determining whether a row is really selected 
or not.
and a cause of a lot of my problems :(
Ashley
14-Sep-2006
[4751]
That's one nasty bug. Good catch.
Graham
14-Sep-2006
[4752]
Ticketted.
Robert
15-Sep-2006
[4753x2]
Graham: Table stuff. We have changed table to be sort stable. This 
fixes the problem.
Ashley, I have a bunch of changes to RebGUI. How to proceed? Should 
I mail them all to you? Should I just checkin our version to the 
Subversion repository?
Graham
15-Sep-2006
[4755x2]
Robert .. just check them in for people to test.
Thanks.
Ashley
15-Sep-2006
[4757]
Yes, and don't forget to close any tickets these changes have fixed.
Robert
16-Sep-2006
[4758x3]
Ok, the first one isn't hard. I have already closed some tickets, 
but I'm sure I didn't got everything.
I will check our changes in and paste the changes doc so you can 
see what we have changed. What's than needed is to update the Wiki 
docs.
Ah... I have to reinstall the client software. Can someone please 
post the link to the repository? Thanks.
Graham
16-Sep-2006
[4761x2]
is it ?
svn://svn.geekisp.com/regbui ?
from memory ...  /rebgui
[unknown: 9]
16-Sep-2006
[4763]
Robert, are you helping write some of RebGUI?
Ashley
16-Sep-2006
[4764]
Information on various SVN client software and the URL to use is 
on the main Trac page: http://trac.geekisp.com/rebgui


I've also added a section on "Making Source Code Changes" ... please 
read it before making changes.
Graham
17-Sep-2006
[4765x2]
Is there any reason why I shouldn't do a 'show-text on a button to 
change the button text?
I am doing this and find that when I hover over the button, it disappears.
PeterWood
17-Sep-2006
[4767]
The button or the text?
Ashley
17-Sep-2006
[4768]
button "Hello" [show-text face "World"] ... seems to work OK.
Graham
17-Sep-2006
[4769]
the button disappears .. eventually.  Odd.  The text remains behind 
though. Like the Cheshire cat.
Robert
17-Sep-2006
[4770]
Reichart, sort off. As I use for my apps, I have hired Cyphre (until 
you snapped him away) to make a bunch of extensions to RebGUI that 
I need.
Anton
17-Sep-2006
[4771]
Dead link update on this page:  http://www.dobeash.com/rebgui.html

old: 	http://home.wilddsl.net.au/anton/rebol/doc/create-a-rebgui-widget.html

new: 	http://anton.wildit.net.au/rebol/doc/create-a-rebgui-widget.html
Graham
17-Sep-2006
[4772]
Is there a data facet to the button that I should not be using for 
my own purposes?
Ashley
17-Sep-2006
[4773x2]
button/data is a block containing 3 button state images ... so using 
that would be bad. ;)
Anton, link updated. Thanks.
Graham
17-Sep-2006
[4775x4]
Ahhhh....
Ooops...
No wonder the button image disappears!
Are there any user facets that one can use?
[unknown: 9]
17-Sep-2006
[4779]
Robert, got it...
Ashley
18-Sep-2006
[4780]
Are there any user facets that one can use?

 ... not as such (i.e. no VID-like user-data facet); although you 
 can always use something like button/init post initialization.
Graham
19-Sep-2006
[4781x6]
do %rebgui.r
display "Main Window"  [
	button "Start" 100x100 [	
		loop 5 [
				display/dialog "Modal"  [ button "Close" [ unview ] ]
		]
	]
] 
do-events
halt
Shouldn't pressing the "Start" button lead to the modal window opening 
5x ?
Instead it only opens once.
o %rebgui.r

display "Main" [ 
	button "Open Modal" 100x100 [
		display/dialog "Modal-1" [ button "Close1" [ unview ]]
		display/dialog "Modal-2" [ button "Close2" [ unview ]]
	]
]

do-events
halt
Same type of example ... Modal-1 opens, but never Modal-2
Ok, answer as suggested by Volker is to use 'hide-popup instead of 
unview ...
Rebolek
19-Sep-2006
[4787]
I've tried to download RebGUI from REBOL Desktop (as suggested on 
http://www.dobeash.com/rebgui.html) but it crashes with:
** Script Error: Cannot use path on none! value
** Where: context
** Near: header/version
Ashley
19-Sep-2006
[4788]
Ah, fails on new install. Fix tested and uploaded, please try again.
Rebolek
19-Sep-2006
[4789]
Ashley: works now, thanks.
Graham
19-Sep-2006
[4790]
I can now use 'unview in a loop as a form of return :)
Rebolek
20-Sep-2006
[4791]
In 'request-dir, directories starting with "!" are sorted before 
"..", this looks strange.