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

World: r3wp

[View] discuss view related issues

Ashley
24-Mar-2005
[769]
Updated http://www.dobeash.com/it/rebgui/facets.html(section 5.9) 
with above information / references.
[unknown: 10]
25-Mar-2005
[770]
Another issue ;-) perhpas someone hace a quick hint how to handle 
it ?
Brock
25-Mar-2005
[771]
Saw this entry in the cookbook... http://www.rebol.net/cookbook/recipes/0056.html
[unknown: 10]
25-Mar-2005
[772x2]
I have 3 faces...all 3 of them i like to drag & drop.. But the face 
that currently is dragged need to move OVER the other faces..not 
under! So how do i make the current face float over the others ?
Currently its in the order of creation in pane:[] I could shift in 
there...
Brock
25-Mar-2005
[774]
When I move the mouse into or out of the window slowly, in either 
the top or left edge, it doesn't recognize the mouse-over/out
[unknown: 10]
25-Mar-2005
[775x2]
I have seen that problem too sometimes...
What view version do you use ?
Ammon
25-Mar-2005
[777]
;From http://www.rebol.com/how-to/feel.html

view layout [
    size 240x240
    style dragbox box 40x40 font-size 11 feel [
        engage: func [face action event] [
            if action = 'down [
                face/data: event/offset
                remove find face/parent-face/pane face
                append face/parent-face/pane face
            ]
            if find [over away] action [

                face/offset: face/offset + event/offset - face/data
            ]
            show face
        ]
    ]
    dragbox "Box 1" navy
    dragbox "Box 2" teal
    dragbox "Box 3" maroon
    dragbox "Box 4" gold
]
[unknown: 10]
25-Mar-2005
[778]
aaa right.... remove and append ;-) I thought that would do it too.. 
 great thanks !
Ammon
25-Mar-2005
[779]
NP
[unknown: 10]
25-Mar-2005
[780]
Mmmm although I dont use Layout... so i need to be creative ;-)
Ammon
25-Mar-2005
[781]
Not using layout won't affect that one bit
[unknown: 10]
25-Mar-2005
[782]
Yes i see ;-) just found parent-face ;-)
Ammon
25-Mar-2005
[783]
It is the code in the middle you're looking for...  The Remove and 
Append to the parent-face's pane
[unknown: 10]
25-Mar-2005
[784]
Aaa works like a sunny ;-)
Ammon
25-Mar-2005
[785]
That particular How-To is EXTREMELY useful and not known nearly well 
enough...
Brock
25-Mar-2005
[786x2]
Rebolingth, I tried on earlier and later beta versions.
1.2.56.3.1 is what I've been using on a regular basis now.
[unknown: 10]
25-Mar-2005
[788x2]
Its a great feel example...
Brock... Lets see what it does here...1 moment..
Ammon
25-Mar-2005
[790]
On the Window level face, does the Options block contain [All-Over] 
???
[unknown: 10]
25-Mar-2005
[791x4]
jups that does it..
ammon...
do you know if it possible to create transparent 'DRAW faces too 
?
I mean ..using fill-pen in combination with 'merge colorize
Ammon
25-Mar-2005
[795]
Yeah, that should work just fine
[unknown: 10]
25-Mar-2005
[796x2]
I was uable to so far
Mmm look ;-)
Ammon
25-Mar-2005
[798]
Really?  Not merging?
[unknown: 10]
25-Mar-2005
[799]
then I just must be trying harder ;-)
Ammon
25-Mar-2005
[800]
Example?
[unknown: 10]
25-Mar-2005
[801x2]
well what is use is ie.   effect: [ merge colorize draw [ circle 
100x100 90 ]]
but that merges with the Face background not with the color below 
using drag& drop
Ammon
25-Mar-2005
[803]
Is color: none on the face with DRAW code in it?
[unknown: 10]
25-Mar-2005
[804]
yes
Ammon
25-Mar-2005
[805]
Hmm...
[unknown: 10]
25-Mar-2005
[806x4]
but fill-pen is also there..
to fill the figure
and that ne need to be transparent
BTW... text is transparent... but color not ;-)
Ammon
25-Mar-2005
[810]
Hm... NOt much of a Draw expert.  Can't seem to make it work either. 
:-(
[unknown: 10]
25-Mar-2005
[811x2]
thanks anyway.. Ill keep practising ;-)
Using 'merge on a  GIF image crashed view.. also the beta's crash..is 
this known ?
Graham
26-Mar-2005
[813]
How does one shut down all the events initiated by do-events ( wait 
[] ) ?
eFishAnt
26-Mar-2005
[814]
halt ;?
Graham
26-Mar-2005
[815x2]
yeah ... not really.
I'm getting a 100% cpu when I do a wait inside a uniserve protocol... 
so I want to kill all the waits so I can restart the whole process 
after a period.
Volker
26-Mar-2005
[817x2]
one way is to break wait is to throw an error, as long as it is not 
catched in between. 

another to use wait with timeout, and "poll" a variable every second 
or so.
hmm, that would fail with nested waits..