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

World: r3wp

[!RebGUI] A lightweight alternative to VID

OneTom
30-Oct-2005
[2179]
its no use to change it. mmmm maybe im wrong and used this feature 
already :)
Graham
30-Oct-2005
[2180]
you could try using the engage function .. ie. to simulate a mouse 
click.
OneTom
30-Oct-2005
[2181x2]
but let me ask another thing meanwhile: how can i redefine the up/dn 
or pgup/pgdn keys for field widgets?
ay.. that would hurt :)
Graham
30-Oct-2005
[2183]
I'm guessing you have to trap those keys in the engage function.
OneTom
30-Oct-2005
[2184x2]
but there is already a smart engage function crafted for widgets 
having textediting capabilities
how can i extend that? what is the best practice for solving such 
situations?
Graham
30-Oct-2005
[2186]
except the cursor keys and page up/down don't work in the text editor 
as of yet.
OneTom
30-Oct-2005
[2187x3]
pardon? which works and which dont? and dont forget about undoing 
and copy/paste. keys for those operations also work
3. question: (im just inspecting rebgui-widgets.r and found this) 
foreach row picked [insert tail blk pick data row]
why is it insert tail blk instead of append blk ?
Volker
30-Oct-2005
[2190]
usually speed.
OneTom
30-Oct-2005
[2191x2]
hmm.. wow. okay, i believe u, thank u
but as in effect they are equivalent, right?
Volker
30-Oct-2005
[2193]
yes. but append is a meazzine.
OneTom
30-Oct-2005
[2194]
okay, i see now
Volker
30-Oct-2005
[2195]
just source it.
OneTom
30-Oct-2005
[2196]
done that, thats why i said "i see now" :)
Volker
30-Oct-2005
[2197]
isnt that "i source now"? :)
OneTom
30-Oct-2005
[2198x3]
:))
volker, u look like a guru as well, can u help me answering my keybinding 
problem?
i wrote a little csveditor and this is the last thing i need to release 
it as a useful app
Volker
30-Oct-2005
[2201]
Maybe, but did not much with rebgui. What was the question?
OneTom
30-Oct-2005
[2202x2]
i would like to bind an action to the pgup/pgdn key when im in field 
widgets preserving all the predefined keybindings of course
the action would be selecting the next row in a table widget. i cant 
solve that either but its more possible that i can solve it by myself 
than figuring out how do the keybindings work in rebgui
Volker
30-Oct-2005
[2204]
Can you override the /engage in rebgui? like with feel in vid?
OneTom
30-Oct-2005
[2205x2]
maybe not exactly like in vid, but it already has a value
a very complex function
Volker
30-Oct-2005
[2207]
Yes, but thee is a trick.
OneTom
30-Oct-2005
[2208]
and im curious about that wether it contains any extension capabilities 
or not or im just too blind to recognize it
Volker
30-Oct-2005
[2209]
I am writing a demo in vid. maybe it helps.
OneTom
30-Oct-2005
[2210x2]
well that would b great
http://dunasoft.com/~tom/csveditor.jpg<-- thats what i was talking 
about
Volker
30-Oct-2005
[2212x2]
http://polly.rebol.it/test/test/nextgen/www/../../../test/nextgen/../rebgui/../extend-engage.r
traps mouseclicks. do not know exactly about keys yet.
OneTom
30-Oct-2005
[2214]
aha.. (fancy url :)
Volker
30-Oct-2005
[2215x3]
My index-builder is a bit unsmart..
and i got the url from desktop. when i go up, it adds %../ , when 
i go back, the folder, up again an so on.
http://polly.rebol.it/test/test/extend-engage.r
OneTom
30-Oct-2005
[2218]
anyway, i like your experiments. i was browsing around thru your 
doors yesterday or so
Volker
30-Oct-2005
[2219]
Thanks :)
OneTom
30-Oct-2005
[2220]
i programmed turbovision and delphi earlier, so its the usual "overriding 
a virtual method trick"
Volker
30-Oct-2005
[2221x2]
Yes.
Only that you have to copy the overridden method in rebol.
OneTom
30-Oct-2005
[2223]
okay, i will do it then, but i will refer to you as the parent of 
the idea doing this like that ;)
Volker
30-Oct-2005
[2224x2]
and to avoid clashing (subclassing some levels deep, at every level 
old-engage: :engage) i prefix with area^
Me? That file must have been wanderd in accidentally.. *whistle*
OneTom
30-Oct-2005
[2226]
i hope, we can discuss it w ashley himself this week. hes gonna back 
from holiday this week
Volker
30-Oct-2005
[2227x2]
small update, fucusses face now. you can type, but mouse-clicking 
gives alert. to show it really uses the original engage.
Good, i have a little fix to areas down-arrow.