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

World: r3wp

[View] discuss view related issues

Tomc
14-Jan-2006
[3965]
I have a question about the matrix functions in Draw.  Is it true 
they can only be applied to an existing draw sequence?  that is ,I 
am creating novel points to insert into a polyline that is yet to 
be drawn, it seems I cant  use the matrix functions to generate these 
points.
Anton
15-Jan-2006
[3966]
TomC, I think I understand your question. I had a similar problem. 
I wanted to calculate where some points in the middle of a curve 
would be, if that curve were drawn.
Graham
16-Jan-2006
[3967x2]
Oldes reports this error in my chat client 

make object! [
code: 303
type: 'script
id: 'expect-arg
arg1: 'index?
arg2: 'series
arg3: [series! port!]
near: [index? find out-cols sel-col]
where: 'attempt
I haven't seen it.
Ryan
16-Jan-2006
[3969x4]
** Near: size: size-text self 
all [
    para para/origin size: size + para/origin 
    para/margin size: size + para/margin
]
This is a problem I am having setting up a view on a linux virtual 
server. My cgi look like...
#!../../REBOL -vcsi
rebol []

print "content-type: text/html^/"
print "HELLO WORLD! --REBOL"
There probably is no X server, so this might explain the error. Is 
there a work around, or do I really need X?
Sunanda
16-Jan-2006
[3973]
I'd suggest using Core for CGI rather than View
DideC
16-Jan-2006
[3974]
You need X, or use Rebol/Core if you use only CGI (and don't need 
View features like creating image on the fly)
Ryan
16-Jan-2006
[3975]
I dont need view, its just easier to do using it, since the project 
involves layering gif images. My expectations were that View would 
work as long as I didnt try to show a window. Luckily I have a a 
backup plan in place, just use core, so I set that up core last night.
Sunanda
16-Jan-2006
[3976]
I'd like to be able to use Core as a CGI processor for its image 
creation features......But I've never had a happy time testing it.
Ryan
16-Jan-2006
[3977x2]
Core has image creation features?
appearently not many... I am happy to the image datatype though.
Graham
16-Jan-2006
[3979]
Anyone know how to popup a windows *without* grabbing focus ?
Henrik
16-Jan-2006
[3980]
LIST-VIEW 0.0.22 released.

Changelog is inside the main file:http://www.hmkdesign.dk/rebol/list-view/list-view.r
Docs: http://www.hmkdesign.dk/rebol/list-view/list-view.html
Brock
17-Jan-2006
[3981x3]
Henrik, I have confirmed that the graphic for the following section 
is correct...
   view layout [
     list-view with [
       in-cols: [Name Level Score]
       data: [
         ["Joe" 12 5645.6]
         ["James" 6 4472.2]
         ["Jimmy" 11 5631.7]
       ]
       fonts: [
         [style: 'bold]
         [align: 'center]
         [align: 'right]
       ]
     ]
   ]
I pictured this being a 3 col listview, with
first column - left aligned, bold
second column - centered, not bold
third column - right aligned, not bold
are the blocks in the font object to be applied to the respective 
column?  If so, can you explain why there are two centered columns. 
 What am I missing?
Gregg
17-Jan-2006
[3984]
Graham, if you mean a REBOL window, I think the only option is to 
change the active window after it comes up. If launching another 
app, you can tell it not to activate the window.
Graham
17-Jan-2006
[3985x3]
Other applications have popups which don't grab focus .. eg Avast! 
virus scanner.
Trillian ...
etc.  Is that something we can add to View ?
Gregg
17-Jan-2006
[3988]
Yes, but there's not a 'dont-activate option for VIEW AFAIK.
Graham
17-Jan-2006
[3989]
Or, is it an OS call ?
Gregg
17-Jan-2006
[3990x2]
It should be possible. It's a parameter to the ShellExecute and SetWindowPos 
API functions.
Oh, and ShowWindow.
Graham
17-Jan-2006
[3992]
Oh .. windows voodoo
Gregg
17-Jan-2006
[3993]
Yup. I don't know about *nix windowing systems.
Graham
17-Jan-2006
[3994]
If you have a working example for windows, that would be great ...:)
Gregg
17-Jan-2006
[3995]
For which function? I think I have ShellExec and SetWindowPos mapped, 
but not sure about ShowWindow.
Graham
17-Jan-2006
[3996]
Just a way to bring up a new window without it grabbing focus.
Henrik
17-Jan-2006
[3997x3]
brock, I think it's because the apparent default behaviour is that 
the text is centered.
default as in when using FONTS, it seems to use a different font 
object than when not using FONTS
brock, it's been corrected now and will be available in 0.0.23
Gregg
17-Jan-2006
[4000]
Don't have that handy for a VIEW call Graham.
Graham
17-Jan-2006
[4001]
I'd like a way of adding a value to the list without changing the 
row focus
Henrik
17-Jan-2006
[4002x4]
kind of an append-row/no-select ?
added now
will be available in 0.0.23
LIST-VIEW 0.0.23 released.

Changelog is inside the main file:http://www.hmkdesign.dk/rebol/list-view/list-view.r
Docs: http://www.hmkdesign.dk/rebol/list-view/list-view.html
Graham
17-Jan-2006
[4006x2]
thanks ..saves me one step :)
Are you going to allow images in the rows
Henrik
17-Jan-2006
[4008x7]
yes at some point...
it'll probably be when I do conditions.
but the design of that is not completed yet. I want it to be easy 
to make conditions :-)
that way you can have a row with a status column which for example 
reads 'offline or 'online. Then you could say [status = 'offline] 
would result in some kind of output in that cell, either a change 
of color or font or an image. basically anything that you can do 
with a face
there is a little bit about it in the docs
(suggestions are welcome)
off to bed...