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

World: r3wp

[!RebGUI] A lightweight alternative to VID

Volker
7-Dec-2005
[2640]
Once try to fix that: http://polly.rebol.it/test/test/rebgui/.
Pekr
7-Dec-2005
[2641]
and demo for field validation does not work at all ...
Graham
7-Dec-2005
[2642x2]
ie. Issue 48 is still open.
what do you mean "at all" ?
Pekr
7-Dec-2005
[2644x3]
too many bugs at first try to bother to test it further ...
type exit to leave the field

 - you type exit, Exit, try enter, tab, nothing happens ... then you 
 try to delete what you wrote and somehow you can no longer see, what 
 you type ...
but that is something you should note playing with the demo for 10 
secs ;-)
Graham
7-Dec-2005
[2647x2]
exit allows you to defocus from that field
otherwise u can't leave that field
Ashley
7-Dec-2005
[2649]
too many bugs at first try to bother to test it further


1) I have clearly indicated this is prototype functionality - constructive 
feedback on the design direction is most welcome

2) The only bug you have indicated is in the on-unfocus action of 
the last field - presumably you have verified that app-level on-focus 
and on-unfocus works (the 3 fields in the group-box) and that on-focus 
(the random number field) also works


LED's - these were originally coloured Red, Green and empty but a 
few people pointed out that these colors are not color-blind friendly. 
One option is to revert to the original color scheme but have the 
LEDs also change shape (red octogon, green circle, etc).


Area - functionality has been improved, not fixed. I'll reopen 48 
(not tested adequately) ... but the whole edit / feel thing needs 
a minor overhaul prior to 0.4.0 (some of the problems relate to View 
itself and these need to be isolated and RAMBO'ed).
shadwolf
7-Dec-2005
[2650x16]
complete version 0.38 can be grabed here http://shafwolf.free.fr/RebGUI-038-shad.zip
i put listview v 0.52 external in it and requestdir form DideC ^^
Ashley the problem with stoboscopic effect (blinking) when colors 
are both ligth one is the eye retina persistence ususlly  ppl use 
same color  in dark/light  like dark green  = off  light green = 
 on  ( and this is more friendly with  our over used eyes !!
can be medium grey = off and  what ever colo = on
ashley  my ten seconds solution for edge  problem with listview integration 
to rebgui rebgui-wigets.r file
keep the same code and simply  copy paste is after the context  ... 
( SORRY THAT DOESNT WORK ... i just try it  ...)
edge is said as invlaid path .... so thise  means  a  /edge is not 
good  and looking to rebgui widget code we found that  /edge is related 
to color/egde so i think the problem come from a prebuilded widget 
 onloading  this one have a problem or color/edge reference maybe 
try to dig this out please ashley...
hum i think  i found a track ...  in my code i over ride   colors 
internally to listview
i'm the best lol
that was the problem ashley  ^^
damn i  love late night debugging  your brain is so lazy that you 
 can keep a track of an idea
rebol says it from begining  edge is not a good path  why  ?  /edge 
doesn"t exist ? where does it supose to exist ?  -> colors ...  yea 
colors/edge that match with what  rebol says  !!!  do i have colors 
 set  as a block of value in my  code  ?  yes  to able ppl to choose 
modify  the background colors ...
of the table text content  ...
renaming colors internal to   listview  to colrs ^^
i merged it to  rebGUI 038 ^ ___ ^ -----> grab  it from http://shafwolf.free.fr/RebGUI-038-shad.zip
See DEmo listView  ^^
Izkata
7-Dec-2005
[2666x2]
Is that all of the files, old with the new merged?
And it gives me a cannot-find-server anyway   >.<
shadwolf
7-Dec-2005
[2668x3]
arg
http://shadwolf.free.fr/RebGUI-038-shad.zip
http://shadwolf.free.fr/RebGUI-038-shad.zip

REBGUI 0.38 Shadwolf version !!!


- FULL  retail files no need to merge them back  with previous REBUI 
version
- Didec-requestdir mini app 
- Listview as base object  
- Demo-listview.r shows how to use the listview widget.
Izkata
7-Dec-2005
[2671]
lol nice... I plan on trying RebGUI for my next little project, but 
never downloaded it before...
shadwolf
7-Dec-2005
[2672]
yea rebgui is very very neat  it's growing in size but it's still 
pretty  cool  widget library . I recommand it to you as simple as 
Vid but mutch more sophisticated  ^^
Volker
7-Dec-2005
[2673x5]
field on-focus [system/view/caret: face/text true] on-unfocus [face/text 
= "Exit"]
fixes the exit-field-bug in action-demo
Somehow i dont like the names 'on-focus, 'on-unfocus. They feel loong 
somehow. how about

 field enter [system/view/caret: face/text true] exit [face/text = 
 "Exit"]
Not sure how on-focus works, ut returns a flag? Could it return the 
value for caret?
 field on-focus [face/text] on-unfocus [face/text = "Exit"]
What is the diference between on-unfocus and the usual action? can 
they be joined? WHat do i overlook?
Ashley
7-Dec-2005
[2678]
The idea with the on-* naming is to clearly indicate an event. I 
toyed with using just focus / unfocus but these verbs could be confused 
with the functions of the same name. Likewise, 'enter could be confused 
with the 'return keyword and 'exit has the same issue with regards 
to both 'exit and 'quit. 'on-enter and 'on-exit are possibilities 
though.


on-focus and on-unfocus return true or false so as you can handle 
failure. This scenario is more likely with on-unfocus where you would 
want to trap and handle a field validation failure for example.


The difference between on-unfocus and the usual action (both may 
be triggered by pressing enter for instance) is that on-unfocus enables 
you to interrupt the normal work-flow by aborting the unfocus and 
subsequent focus operation - something you could not [easily] do 
normally. Also, for many widgets the usual action and on-* actions 
may be different (e.g. pressing enter to initiate the default action 
may be quite different to pressing tab and leaving the field).


For those familiar with Oracle*Forms, and similar products, these 
new actions are like the pre-field and post-field triggers (with 
the app-level ones mapping to pre-form and post-form).

Good questions all, keep them coming.
Anton
8-Dec-2005
[2679]
http://www.lexicon.net/antonr/rebol/rebgui/add-remove-tab-panels.r
shadwolf
8-Dec-2005
[2680x3]
Anton very nice script i have a firend that need this feature for 
one of his school project ^____^
firend = friend
Anton i like to see franch strings in your code ^___^
Pekr
8-Dec-2005
[2683]
on-something is good, ashledy, go ahead with it ....
shadwolf
8-Dec-2005
[2684]
yes it's yet seen by most of w32 QT wXwindows GTK TCL/TK  coders 
 ^^^
Pekr
8-Dec-2005
[2685]
DocKimbel used it for Uniserve too ...
Robert
8-Dec-2005
[2686]
focus/unfocus from Ahsley: Sounds very good and flexible to me. I 
like it a lot and yes, it meets the features I have in mind. I'll 
give it a try.
Graham
8-Dec-2005
[2687]
>> change-dir %../
== %/D/rebol/rebgui/

>> do http://www.lexicon.net/antonr/rebol/rebgui/add-remove-tab-panels.r
connecting to: www.lexicon.net
Script: "add/remove tab-panels" (8-Dec-2005)

** Access Error: Cannot open /D/rebol/rebgui/programs/rebgui/rebgui.r
** Near: do view-root/../programs/rebgui/rebgui.r
relayout: has [fenetre-cannibalisee]
Robert
8-Dec-2005
[2688x2]
table: Moving the last slider changes the space between draging-bar 
and text "Char" dynamically. Looks like a relativ calculation thing.
action demo: very cool. I'm now testing it.