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

World: r3wp

[View] discuss view related issues

Graham
13-Jan-2006
[3952x2]
For some reason, I can't get the scroller width to stay at 15 on 
resizing, and the edge button is still wider than the scroller width.
Where can I set the edge button width ?
Henrik
13-Jan-2006
[3954x2]
the edge button should follow the width of the scroller automatically
and hdr-cols shouldn't be needed... the images in the docs show that
Graham
13-Jan-2006
[3956x2]
Previously the header used out-cols, but now it's ignoring that information. 
 I had to use hdr-cols to only get the 3 headers I wanted.
should follow the width, but not working for me.  Is there a place 
in the source I can start the edge to a width I want ?
Henrik
13-Jan-2006
[3958x2]
do you have the latest sources? I really can't see how out-cols should 
be ignored for use as hdr-cols...
I use the docs as kind of a testing ground too. If you see something 
in the docs which you are trying to do, it should work, because the 
images in there are always generated from the latest version
Graham
13-Jan-2006
[3960x2]
http://www.compkarori.com/reb/pluginchat28.r
You don't have any examples of setting the scroller width :)
Henrik
13-Jan-2006
[3962x2]
right :-)
made a rebsite under Public/HMK Design. should be a little easier 
to run the demo now
Terry
14-Jan-2006
[3964]
Graham, I'm having flash backs looking at your app.
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