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

World: r3wp

[!RebGUI] A lightweight alternative to VID

Graham
5-Sep-2009
[8500]
Yes, same issue.
marek
5-Sep-2009
[8501]
Fix is very simple, anyway.
Graham
5-Sep-2009
[8502]
Yes
marek
5-Sep-2009
[8503x3]
Out now, thanks for little help. See ya.
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
My last problem is probably my fault. I excluded icon widget from 
my custom %rebgui.r.
Graham
6-Sep-2009
[8506]
Is there any easy way to determine which word has been hilighted 
in a text area?
Ashley
7-Sep-2009
[8507x3]
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
easy way to determine which word has been hilighted in a text area
 ...

display "Sample" [
	a: area
	button [
		all [
			ctx-rebgui/edit/copy-selected-text
			print read clipboard://
		]
	]
	button [
		all [
			ctx-rebgui/edit/hilight?
			set [start end] ctx-rebgui/edit/hilight-range?
			print copy/part start end
		]
	]
]
First method is easier but trashes the clipboard ...
Graham
7-Sep-2009
[8510x2]
Thanks.  I was doing complicated things on the area/caret
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
[8512x2]
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.
Even more serious problem discovered. Maybe only on Linux Mint. Pressing 
<Esc> button simply causes your program to go away. Checked with 
tour.r too.
Graham
7-Sep-2009
[8514x2]
Esc by default closes the currenlty open window.  However, it should 
not close the main window.
Hmm.. well, that's how I have it setup.
marek
8-Sep-2009
[8516x2]
Try this with current version

>>display "t" [box rate 5 button [alert "press ok"]] do-events ;; 
"ok" button of alert blackens but doesn't work
In versions before 200 it works exactly as expected
More discoveries. Set-text by indirect reference doesn't work when 
field is disabled, but still works by direct call.

[p1: panel data [f1: field disable] button [set-text p1/pane/1 "1"] 
button [set-text f1 "2"]]
It did work ok before 200.
Ashley
11-Sep-2009
[8518x2]
Build 215
- fixed editor
- fixed clear-text (check for disable)
- fixed set-text (check for disable)
- fixed set-texts (check for disable)
- ESC no longer auto terminates main display
- added make-dir to request-dir
- replaced request-file with RebGUI version
- updated request-value to trim return value
- fixed slider bug in RebDOC
The "tab out of list" and "rate" bug fixes are still WIP.
Pekr
11-Sep-2009
[8520x2]
Why RebGUI uses request-file non-native requestor? For more GUI consistency?
Cand editor's position/size be set? In RebDOC it is so big that it 
does not fit my notebook screen ....
Graham
11-Sep-2009
[8522]
perhaps because rebgui is no longer compatible with Vid ...
Ashley
15-Sep-2009
[8523]
Why RebGUI uses request-file non-native requestor?
	- GUI consistency
	- speed
	- functionality
	- native requestor is broken on OS X

Can editor's position/size be set?

 - I can make the default smaller, what's your notebook screen res?

 - I'll probably add a /size refinement as well (I can see how you 
 might need a small or large editor in certain situations)
Pekr
15-Sep-2009
[8524]
my notebook - 15,4" - 1280x800 ...
BrianH
15-Sep-2009
[8525]
The smallest screen size in common use on general-purpose computers 
is 1024x600, netbook standard.
marek
15-Sep-2009
[8526]
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
Maxim
15-Sep-2009
[8527]
Ashley... you're letting go of  dobeash.com ?
Graham
16-Sep-2009
[8528]
http://whois.domaintools.com/dobeash.comsays is still active
Ashley
16-Sep-2009
[8529]
I'm trying to transfer the domain from Webhero (previously catalog.com) 
to a local (Australian) provider ... Webarama. Maxim, where did you 
see it not active? I don't want an admin mix-up on this one!
Graham
16-Sep-2009
[8530x2]
heh... I tried to fax you Ashley, but the fax failed to go thru. 
 Perhaps all lines of communication are being eroded!
I presume your email is not working either since your domain is not 
resolving.
Maxim
16-Sep-2009
[8532]
DNS doesn't resolve to http://www.dobeash.com/
Sunanda
16-Sep-2009
[8533]
I get:
    Server not found
    Firefox can't find the server at www.dobeash.com.
Ashley
16-Sep-2009
[8534]
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).
Maxim
16-Sep-2009
[8535x2]
it can take up to 6 days for some DNS servers to refresh...  the 
whois still says catalog.com is the registrar.
I guess the only ones who can answer you for sure are webarama.  
they might have a 24h support mail or phone line.
Ashley
16-Sep-2009
[8537]
The comment in the SQLite group, "seems like domain is up for sale?", 
is the worrying one ... or did he actually just mean "the domain 
no longer resolves"?
Graham
16-Sep-2009
[8538]
the latter I suspect
Ashley
16-Sep-2009
[8539]
Oh well, I'll find out tomorrow! ;)
Graham
16-Sep-2009
[8540x2]
Why do melbourne businesses list their numbers like 1300.....
3 is the area code isn't it?
Ashley
16-Sep-2009
[8542]
Land lines are 8 digits with a 2 digit prefix (e.g. 03 for Victoria). 
1800 numbers are toll-free, 1300 numbers are free for local callers. 
13 numbers are the same but guarenteed to be unique nationwide. The 
later 2 are synonyms for a real underlying physical number, but can 
only be called to from within Australia. Clear as mud ... ;)
Graham
16-Sep-2009
[8543]
So, what is your fax number for an overseas person?
Ashley
16-Sep-2009
[8544]
Responded privately (fax spamming is a problem for businesses).
marek
16-Sep-2009
[8545]
>>display/dialog "test" [drop-list data [1 2 3]]   ;; no problems, 
build 215, linux Mint  

>>display/dialog "test" [edit-list data [1 2 3]]   ;; big problem 
here 


When trying to enter text into edit-list widget the window magically 
disappears.

Can anybody confirm, please. Am I doing anyting wrong? Will it ever 
work? Ashley?
Graham
16-Sep-2009
[8546]
confirmed ...
Ashley
17-Sep-2009
[8547x2]
Build 216
- resized editor
- added /size refinement to editor
- fixed edit-list
- fixed request-file (returns full path)
UI question. What's the "standard" way to deselect a selected table/text-list 
row. I've seen:

	a) click the selected row (i.e. toggle mode)

 b) click outside the parent widget (i.e. deselect on focus change)
	c) don't allow it (the current RebGUI behavior)


I can see problems with each approach, but c) requires another widget 
(typically a button) to produce the desired behavior.
marek
17-Sep-2009
[8549]
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.