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
[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.
OneTom
30-Oct-2005
[2229]
aaand where is it? i downloaded the file mentioned above but no difference
Volker
30-Oct-2005
[2230x3]
then i forget uploading. oops.
one moment, seems i got up/down, short test.
should be there.
OneTom
30-Oct-2005
[2233x2]
great! thanks a lot!
u can see the result soon at qtask/contractors/csveditor.r, i hope
Volker
30-Oct-2005
[2235]
good. Hurry! ;)
OneTom
30-Oct-2005
[2236x2]
: ) btw, why do u write 'word = obj/func  instead of obj/func = 'word 
?
just to make sure that the operator wont get a wrong operand?
Volker
30-Oct-2005
[2238x3]
often usefull to save parens. usually the function has arguments. 
like this
 'word = pick here 3
so i put the more probable single-token-value left.
but also a c-convention, where you have this 
 if (a = 4 ) //bang..
instead
  if (4 = a)  //compiler reclaims.
OneTom
30-Oct-2005
[2241]
thought of that, yea
Graham
30-Oct-2005
[2242]
I had to remove your patches to the editor as it caused display problems 
when changing the text in an area.
OneTom
30-Oct-2005
[2243]
whos patches?
Graham
30-Oct-2005
[2244]
Volkers.
Volker
30-Oct-2005
[2245]
oops. good to know.
Graham
30-Oct-2005
[2246x3]
When I did a show-text areawidget, it would end up displaying not 
at the top, but near the bottom in some cases.
Had to switch to using MS Word to edit text using Benjamin's com 
library.
I think the problem is something to do with the slider not being 
initialised correctly.
OneTom
30-Oct-2005
[2249]
y
Volker
30-Oct-2005
[2250]
show-text sets a text? 'redraw contains some adjustments which i 
disabled when face is focused. if that stuff is in show-text it should 
work?
OneTom
30-Oct-2005
[2251]
oops.. i should turn off altme popup
Graham
30-Oct-2005
[2252]
well I found it didn't work for me afterall :(
Volker
30-Oct-2005
[2253x4]
realized that. Start to talk about fixing it. If that is the only 
problem. But then, Ashlay will come back.
http://polly.rebol.it/test/test/rebgui/../../test/nextgen/../rebgui/rebgui-widgets.r
area: make rebface [

Problem is the face/text-y. if that is different than current size-text, 
its adjusted. if you add a line, size-text changes. if size-text 
changes, next show jumps.
My first workaround checks if face is focused and does nothing then. 
but when you put something in face, this code should be activated 
on show.
Is it worth working on that, or can you live with current behavior?
OneTom
30-Oct-2005
[2257x2]
hmm.. ive tried to use this rebgui stuff for the 1st time for a real 
problem, but it look buggy. a table cant be focused by tab (in spite 
of append ctx-rebgui/edit/tabbed 'table), a row in a table cant b 
focused by the program in an obvious way. the dropdown list doesnt 
rolls up after dropping down and it doesnt drops down if i click 
on its text.
am i just unlucky?
Volker
30-Oct-2005
[2259]
Graham: fixed it in another way after understanding more code.
Now at end of engage

  face/text-y: second size-text face ; only needed on real change, 
  but..