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

World: r3wp

[!RebGUI] A lightweight alternative to VID

shadwolf
8-May-2005
[973]
In all cases we can solve this by patching the show but this force 
the intensive use a recycle witch was  not designed to do ths ...
Anton
8-May-2005
[974]
Maybe recycle could take an argument, which specifies a word to take 
particular note of.
shadwolf
8-May-2005
[975x4]
yes this would be a first step  ;) instead of scanning comparing 
the whole memory
but the point is that we don't know exactly how recycle works
does it scan the entire memory ? does it make the comparaso betwin 
the whole memory content table and the actual rebol word content 
?
If rebol keeps track of all previous existing data doesn't it simpliest 
to trash those datas when a next allocation is done ?
Ashley
8-May-2005
[979]
Can we move this discussion to the View or Performance group? ;)
shadwolf
8-May-2005
[980]
sure :)
Luisc
9-May-2005
[981x4]
Hi Ashley and Shadwolf  sorry if i didn't answer before i was out 
of town ( mother's day =P ) let me explained to you why the auto-fill 
on a drop-list ...
If you have a big drop-list ( non editable ) with 60 salesman ( big 
store ) and you shadwolf because of your name are close to the 50th. 
position the way to select your name frome that drop list would be 
with the mouse
wouldn't be easier if you typed sh on the drop-list to select your 
name instead ?
and no i am not talking about an edit-list. And is not an auto-fill 
per se routine. More like a keystroke capture routine so that it 
would do a search on the list  = )
Vincent
9-May-2005
[985]
Luisc: usually, drop-lists don't work well with big lists - it's 
quite hard on long lists to select something without mistakely closing 
the list. A classic text-list is far more suited for anything longer 
than 10 elements. A 60 items drop-list will raise a lot of problems: 
if the widget is too low on screen, most of the choices will be hidden.
BrianH
9-May-2005
[986]
Unless your droplist widget adds a scrollbar when there are more 
elements than you specify space in the widget for, like in Windows.
Vincent
9-May-2005
[987]
the combo-box? yes but it's one of the more complicate, buggy and 
error-prone interface in Windows. it's like a popup textlist associated 
with an editable field. (had painful moments with it in Visual Basic)
BrianH
9-May-2005
[988]
I'd have to agree with you if that error-prone complaint is about 
the usability of that kind of control once it's implemented. Still, 
is there a better way of doing what it does? The Mac way perhaps?
Vincent
9-May-2005
[989]
Yes about usability. It's a all-in-one widget: one can use it to 
replace menu, lists, simple requesters (like the fonts and colors 
selection in MSWord), toolbars, auto-complete fields, etc. So it's 
mostly a shortcut to put more widgets (or compact them) in a window 
and can be confusing for users: what will happen if I select something, 
write in the field, click outside the list, click inside on the left, 
on the right, hit enter? It's a full requester in one widget: you 
can do the same with a request-list -like requester with ok/cancel 
buttons.
Luisc
9-May-2005
[990]
Vincent i understand what you are saying and i totally agree with 
you. It is not a big issue all i am trying to convey is that if you 
have a non-editable field with different choices it would be easier 
for some of us  to select those choices with the keyboard instead 
of the mouse.
Graham
9-May-2005
[991]
when you select the language for windows installation, and the timezone 
etc, they use these very large unwieldly drop lists :(
BrianH
9-May-2005
[992]
Oh, I hate that. Even worse, most of the time you can speed up the 
process of selecting from a dropdown by typing the first letter of 
your selection, but all of the time zone selections start with ( 
so that speedup doesn't work with them.
shadwolf
9-May-2005
[993x2]
Luisc we have 2 item in fact edit-list to handle large data with 
some useful stuf like list vertical scroller and auto-fill field 
This is what you want. And the drop -list widget that is for handle 
tinny list of data :)
Luisc so what you need is yet planned and it's called editor-list 
not drop-list ;)
Luisc
9-May-2005
[995]
ah! thank you shadwolf   = )
shadwolf
9-May-2005
[996]
your welcome ;)
shadwolf
12-May-2005
[997x4]
lastest version of my work on Listview widget is available here http://shadwolf.free.fr/rebgui-list49.r
as shown is the example programmer hav only to give to list-viewdata: 
field the new list content then make a show listview to see the chages 
made on the listview.
I'm going to work some days on MDPWiki Project so during this time 
I want you to make me lot of comments and suggestion on listview 
widget. Once  I'm done with MDPwiki I will retake all the comments 
and suggestions and add them to listview ;)
sugestion can be new widget types, bugs reports etc...
Robert
14-May-2005
[1001]
Can we prefix all files required for a valid distribution of RebGUI 
with regbui-* please? Makes adding it to existing frameworks etc. 
much simpler.
shadwolf
14-May-2005
[1002x2]
Robert normally rebgui files are disigned to be placed into a sub 
sub folder
in your main script you put a do %sub-folder/gui.r and that's all 
;)
Volker
14-May-2005
[1004x2]
sometimes its easier to put all in one folder. you see all at once, 
no need for tools to recurse, and ios uploads more easily.
i would like something short, rg- or such.
Ashley
14-May-2005
[1006]
How about a merge of all RebGUI files into a single file called %rebgui.r?
shadwolf
14-May-2005
[1007]
for me the packagin way is insignificant ;) must be done has the 
people perfer having several files is more easy to see what is integrated
Robert
15-May-2005
[1008x3]
packaging: I vote for it. What's up with the requestors? Are these 
always needed? If possible we should find a way to pack those things 
together that are always needed and let the rest be optional.
Prefix rg- is OK with me. But remember, people don't know what rg- 
means, and rebgui is only four letters more but hundreds of questions 
less. Never shorten things just to shorten them... semantic is the 
key.
rebgui needs to be easy to use: Just copy, load and use. :-)) That's 
what I like about it.
ChristianE
15-May-2005
[1011x3]
Now that makes for a really nice slogan, Robert: "only four letters 
more but hundreds of questions less". It's as true as that of the 
well-known picture, which says more than thousand words. Comes down 
to: One word says more than thousand letters ;-)
Regarding scrollers and sliders in RebGUI: I examine a strange behaviour 
here. If you grab a knob near it's edge (left/right for horizontal, 
top/bottom for vertical scrollers) and drag it, you'll notice how 
the mouse pointer's offset to the knob changes relative to the amount 
that the knob changes it's offset from the scrollers boundaries. 
I haven't seen something like that in any of the (not so many) UIs 
I've came across, so I'd suggest that this gets fixed to conform 
to what people are used to.
The current implementation may even cause "knob flickering" if you 
grab a knob positioned at the top/left end of a scroller at the knob's 
bottom/right end. The knob then jumps noticeable.
shadwolf
15-May-2005
[1014x7]
Christian they have been yet fixed that was worst before hehehe (I 
know what I'm talking about it was me who fix preveious  scroller 
grabbing  problem...)
the problemis when you work with related data... Why the grab button 
jumps ? Because the event/offset so the mouse pointer offset id converted 
to be relative to the slide/scroll bar ...
when you meke a click on the grad button the event offset retrived 
is related to the 0x0 and Maxgrabbutton_xxMaxgrabbutton_y so you 
need to make a convertion algorithm to make this event/offset value 
related to a position on the grabbutton/parent-face and in this process 
you lost some précision.
I give the closest solution to the perfect one but to say you the 
truth I'm not a VID guru I only try to adapt the calculation made 
by Carl into his scroller VID  widget. But has the construction of 
the REBGUI scoller/slider widgets are different from the slider/scroller 
VID ones that explain why there some knobing effect :).  But I think 
we have 90% of the method and for a VID guru solving the knobbing 
effect is jut a question of spending like 3 minutes on the problem 
;)
Ihave an other example of those related calculation method with the 
toc-panel in MDP-GUI and MDP-Viewer. When you click on an entry in 
the toc you have in the viewing pannel the title that appears in 
the middle of the viewing pane and not in the top of the viewing 
pane ...
why becaus the viewing area is not the same item than the content 
area has you have a interdependent relation this complicate the calculation 
method...
the effect I gey is title on is well well displayed and more we advance 
in the title more we have them showed on the bottom of the viewing 
pane... it's like a falling effect ;)
Pekr
16-May-2005
[1021]
Some time ago I did precise scroller calculation. You have to include 
size of dragger into it etc.
shadwolf
18-May-2005
[1022]
I tryed a port for MDP-Viewer to RebGUI system and what I can say 
is that lot of thing are missing...