World: r3wp
[View] discuss view related issues
older newer | first last |
Volker 26-Mar-2005 [820] | but do you really need the wait? or could you give the thing you wait for a fresh /awake, and return? |
Graham 26-Mar-2005 [821x2] | seems to be working without breaking the wait .. no longer a busy wait. Odd. |
Oh, well, can't complain... :) | |
Graham 27-Mar-2005 [823] | what's the facet now for a password field ? Not value, and not text ... |
Volker 27-Mar-2005 [824] | /data |
Graham 27-Mar-2005 [825] | thanks... |
[unknown: 10] 27-Mar-2005 [826x3] | how do I display a GIF image with a transparent background. The GIF image is White and Blue and the background of the image is BLACK. I want to make the BLACK part transparent to its background face it is floating on. (The image is dragged and dropped). Is this possible ?? |
I think im using the wrong GIF format tool.. | |
Ha ..pffff its was PAINT from windows who did it wrong..sorry folks.. | |
DideC 28-Mar-2005 [829x2] | You can make any color of an image tranparent with the KEY effect keyword. |
view layout [space 0 backdrop help.gif image logo.gif effect [key 254.254.254] image logo.gif effect [key 2.2.2]] | |
[unknown: 10] 28-Mar-2005 [831x2] | Yes it worked fine.. the problem was the paint program that confused me ;-) |
Thanks anyway | |
[unknown: 10] 31-Mar-2005 [833x5] | How do I ctach in which 'face I am when using 'Detect for events? |
I have currently this -> | |
and want to detect per face.. Do i need to Name the face perhpas? | |
view layout [ origin 0x0 space 0x0 size 400x400 at 0x0 box 300x300 aqua at 200x100 box 200x300 linen at 0x100 box "In the middle" 400x200 khaki feel [ detect: func [face event] [ if event/type = 'move [ popup/text: event/offset - 0x100 popup/offset: event/offset + 10x0 show popup ] return none ] ] font [ size: 72 ] effect reduce [ 'merge 'colorize 128.64.128 ] popup: box 50x15 font [color: white size: 10 shadow: none ] effect reduce [ 'merge 'colorize 128.64.255 'draw [ pen 0.128.0 box 0x0 49x14 ]] ] | |
Or do i need to create an event per face ? actualy i want to Roam over the main face an select the face i am moving over ta that time...uable to comply currently ;-) | |
[unknown: 10] 1-Apr-2005 [838] | OLDES !!! Thanks for your "Bezier Demo!!!" I was seeking for that ;-) |
DideC 1-Apr-2005 [839] | Does the Bezier demo answer to your question above ? |
Gregg 1-Apr-2005 [840] | Using insert-event-func is probably the way to go. event/face should have what you want. (if you don't already have an answer) |
DideC 1-Apr-2005 [841] | With insert-event-funcs, face and event/face are the window face where the event happens. You have to search yourself what is the face under the cursor. Very boring OMO. |
Gregg 1-Apr-2005 [842] | I thought the face param was the main face and event face was the face getting the actual event, in the case of 'move, etc. |
DideC 1-Apr-2005 [843] | face is always screen-face and face/event is the window. |
Luis 2-Apr-2005 [844] | Oldes: is "Bezier Demo " an public script? |
[unknown: 10] 3-Apr-2005 [845] | If have a problem with Caching in rebol..seems everytime i need to restart view/console to make sure the PICTURE is reloaded to the currect on... im using 'IMAGE %file.png to load it... and a recycle does not fix the problem |
Volker 3-Apr-2005 [846x2] | image caches files somewhere. |
load-image/clear should help | |
[unknown: 10] 3-Apr-2005 [848] | yes its 'image indeed.. a simple load works.. though load-image also has this problem... Ill try your hint! |
Anton 3-Apr-2005 [849x2] | layout [image with [?? multi]] |
You can see under "file:", that LOAD-IMAGE is used. Check the source for load-image and the second item (a block) is where the images are actually cached. | |
Volker 3-Apr-2005 [851] | ( see [help load-image]. load-image keeps a cache. load-image/clear clears that cache. ah, there is load-image/update too for refresh.) |
[unknown: 10] 3-Apr-2005 [852] | For every View Question there is an Answer ;-) Thanks... |
Gregg 8-Apr-2005 [853] | You're right Dide, I had to look, then realized I used system/view/focal-face to get it where I needed it in one app. |
Robert 9-Apr-2005 [854x2] | If I have a layout is it possible to just add stuff on-the-fly if certain conditions are met? Like this: layout [ ... if my-var > 5 [name: button red return] ... ] |
Of course it's possible to build the layout block up front using normal Rebol code but IMO being able to do it inline makes a lot of sense. | |
Anton 9-Apr-2005 [856x2] | I felt this need a few times too. But what syntax is desired ? |
layout [ do [if my-var > 5 [layin [name: button red return]]] ; something like this ? ] | |
Robert 9-Apr-2005 [858] | Woudl be OK. It should be acceptable in that it's easy to remember and doesn't interrupt the programming flow. |
Brock 9-Apr-2005 [859] | Anybody of some generic form validation scripts/hints. I like how .Net allows you to validate a group of radio buttons with one command rather than having to code a check for each radio button in the group. |
Volker 9-Apr-2005 [860] | interesting idea. I usually use compose[ .. (either my-var > 5 [[name: button red return]][()]) ..] but its a lot of brackets |
Anton 11-Apr-2005 [861x2] | When I selectively compose in several times like Volker's code above, I make a small helper function called FLAG-VAL, to do the same job as the EITHER. |
I think my hypothetical example above is better as: layout [ inlay [if my-var > 5 [[name: button red return]]] ] then INLAY only needs to be a layout dialect function. But actually, this reminds me of the discussions we had about argument propagation, the want for replace/deep etc. | |
Benjamin 11-Apr-2005 [863] | hi there, i did not seach much on this but it possible to change the cursor in rebol view arrow clock precise etc... ??? |
Pekr 12-Apr-2005 [864] | has anyone already submitted bug to RAMBO, where View apps crash each time you change your desktop resolution? |
Ammon 12-Apr-2005 [865] | I'm not sure but it isn't just resolution that will do it. Sometimes changing the Appearance and sometimes changing the color depth as well as various other display settings will kill all View applications. |
Pekr 12-Apr-2005 [866] | ok, then rebol can't handle it properly - that is a big minus, although you don't do such operations very often ... |
BrianH 12-Apr-2005 [867] | Well I do, as such a switch happens when you connect to Remote Desktop, and I use that a lot. |
Ammon 12-Apr-2005 [868] | Really? Never had RD kill my View apps before and I have used it alot... |
BrianH 12-Apr-2005 [869] | Hasn't happened to me yet either. I was just saying that if that was the trigger, it would affect me. |
older newer | first last |