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

World: r3wp

[!RebGUI] A lightweight alternative to VID

Gabriele
9-Jun-2005
[1229x2]
ctrl is a separate field of the ecent
event
Pekr
9-Jun-2005
[1231x2]
can simultaneous keypresses be identified?
and - why is better keyboard handler a problem?
Gabriele
9-Jun-2005
[1233x3]
1) no, that's a hw problem most of the times 2) rebol does not operate 
at such a low level.
ctrl-tab is catched by windows (like alt-tab)
win: layout [Text "Hello"]

win/feel: make win/feel [detect: func [f event] [if event/type = 
'key [print [event/control event/shift event/key]]]]
view win
Pekr
9-Jun-2005
[1236]
but we need ctrl-tab - other apps have it - it is necessary for manually 
navigating via tabs :-)
Gabriele
9-Jun-2005
[1237x3]
windows does that, not the apps
afaik
what you want is REBOL/Games that directly ties to DirectX... :P 
not sure if we'll ever see something like that (i'd like it for sure)
Pekr
9-Jun-2005
[1240x3]
Gabriele - I don't believe you somehow :-), sorry, I mean it in a 
good :-)
When we programmed in Visual Objects, we could override default class 
behavior and sometimes it was enough to add some strange parameter 
to function call, e.g. -1 or -4, don't remember, and you started 
to receive also otherwise blocked events ...
... but I can be wrong, it is 5 or more years I last touched VO :-)
Ashley
9-Jun-2005
[1243]
Gabriele: what is the /away refinement *supposed* to do?
DideC
9-Jun-2005
[1244]
AFAIK it close the window if next event appear out of it (like clicking 
outside an open menu)
Ashley
9-Jun-2005
[1245]
Excellent! Just tried it with RebGUI and it works beautifully; even 
with global events killed. I think the edit-list / drop-list problem 
is solved. ;)
Pekr
9-Jun-2005
[1246x2]
Nice what one handy refinement can do :-)
Gabriele: http://www.codeguru.com/vb/gen/vb_system/keyboard/article.php/c4829
:-) ... not so easy, you'r right :-)
Ashley
9-Jun-2005
[1248]
Latest build available at: http://www.dobeash.com/files/RebGUI-030.zip


*** Note that this version requires View 1.2.124 or later, and that 
the zip file is unusually large (346Kb) as it includes a dictionary 
file (future builds wont). ***

Highlights include:

	- New language, dictionary and spellcheck functionality added

 - Documentation on above at: http://www.dobeash.com/it/rebgui/edit.html#section-4
	- All objects merged into one context
	- Major code reorganization / restructure
	- Reduced number of global words to 11
	- Pre-0.3.0 comments removed
	- Pre View 1.2.124 code removed
	- New text-list widget added
	- Added show-color accessor function

 - rebface and rebfocus synonyms to avoid collision with face / focus
	- Large number of bug fixes
	- http://www.dobeash.com/it/rebgui/roadmap.htmlupdated

Known issues:


 - edit feel needs to support tab / shift+tab into and out of "grouping" 
 widgets

 - cursor down goes to end of text instead of next line?! (yell if 
 you know the answer as I'm stumped on this one)
	- focus

 - edit-list / drop-list should use show-popup/away (some compatibility 
 problems)

On the drawing board

	- area widget needs a scroller added to it by default
	- field format / validation masks
	- menu widget
	- better keyboard navigation / focus
Gabriele
9-Jun-2005
[1249x2]
Petr: that link times out, i'll check again later. anyway, i don't 
know win32 nor i do know how rebol does even processing internally. 
i know how key events are usually processed in various platform, 
and most applications just work in the higher level when they get 
characters, not keys.
getting keys instead of characters means a lot of new work to do, 
and i don't see much reason for rebol to do so, except for games. 
but, games will need much more than that!
Henrik
9-Jun-2005
[1251x3]
ashley: testing RebGUI-030. When I click a tab in the big pane and 
then click the last pane in the sub-pane, it sometimes crashes to 
console
(that's in tour.r)
Click the Field tab, then Password tab => crash
Ashley
9-Jun-2005
[1254]
Hmm, I'm not seeing that here. Are you running under WinXP?
Henrik
9-Jun-2005
[1255x6]
yes
hang on, I didn't try it on a fresh rebol console....
no... now it works... something else triggers it
the spinner tab seems to cause it
yes... but a different error: go to spinner tab, click the buttons 
on the spinner a few times. go to another tab in the same group and 
back to the spinner tab again. then click inside the text field of 
the spinner
simpler: go to spinner tab, click the down button once on the spinner, 
click in the text field of the spinner. same crash.
Ashley
9-Jun-2005
[1261]
Got it. Thanks.
Pekr
9-Jun-2005
[1262x7]
Couldn't behavior of list be changed a bit? Maybe we are near? Menu/list 
should not definitely automatically hide, when you move mouse away, 
but it should hid, once you click outside. That is default and imo 
cross-platform. I wonder if we can achieve that?
text-list - it would be probably good if selected item would stay 
hilighted?
table - move second column to right, then back to left - all columns 
on the right side don't move back :-)
leds - very cool
password field - just a cosmetic issue, but those "asterisks" don't 
look nice here - way too-much pressed one to each other ...
spinner - arrows probably way too small, dunno, just my feeling ...
otherwise - excelent work
Graham
9-Jun-2005
[1269]
If you drop down the edit list, and then edit the field,  the list 
won't collapse again.
Ashley
9-Jun-2005
[1270]
1) menu / list behaviour - will change once I iron out a few popup/away 
compatibility issues; it will then work as expected and the quirks 
it has now (as Graham discovered) should finally be fixed.
2) text-list highlight - noted

3) table - needs further work, but getting row selection working 
is a priority

4) leds - thanks to Pascal Lefevre for the original concept and Christian 
Ensel for the latest change
5) password - agreed

6) spinner - agreed. Before I spend any time on this one, how relevant 
 are spinners to today's UIs? I can't recall *ever* seeing one used 
in any project I've been in. Any strong objections if it's ditched?
Graham
9-Jun-2005
[1271x2]
Are spinners used to set dates?
though I prefer the keyboard way to setting dates as used by quicken.
viz: 01/02/ => 01/02/2005
T => today's date
M => last date of the month
etc
Ashley
9-Jun-2005
[1273]
We have request-date for that. Spinners are usually used to increment 
/ decrement integers and percentages, with support for min, max and 
step values.
Graham
9-Jun-2005
[1274]
I'm looking at my EMR, and I use spinners on all the numeric entry 
fields, and dates .. but the truth is, although the gadgets are there, 
I have never used them.
shadwolf
9-Jun-2005
[1275x3]
basicly >> 11/07/2007 + 1
== 12-Jul-2007
works so I don't see  a problem to initialise the spiner using now/date
this would be a quick complement for scheduler based application
Graham
9-Jun-2005
[1278]
is the spinner supposed to have a reset back shortcut as well?