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

World: r3wp

[View] discuss view related issues

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...
Brock
17-Jan-2006
[4015x4]
Henrik.  What you are doing is really amazing.  I really enjoy watching 
projects advance.  Graham, Ashley,  John Niclasen and now you have 
let us watch an immature app/style/control grow into a more mature 
being.  I thank you all for this.
I was hoping Cyphre's style creation talk would be much on this exact 
topic of the steps needed to create a new style and walking through 
the creation of one.  Mainly to see if this was something that was 
rudimentary (even newbies could do) or very involved (only for the 
seasoned programmer).
It would be great if your project was broken down into the early 
stages of design considerations and implementing the design.  Allowing 
everyone to learn from the basic style creation to the addition of 
basic and advanced features.
I use Cyphres list style and asked him at one point what was involved 
in making the familiar style/control that allows selection of items 
in one list and moving them over to a second list either by double 
clicking on it or pressing buttons between the two lists.  I have 
no idea what this style is called, but it sure would be interesting 
seeing how you would implement this with your list style.
DideC
18-Jan-2006
[4019]
Do you plan to use the 'words facet to allow a VIDish way to specify 
(i.e) data.
So you can write :

	view layout [list-view data ["one" "two" "three"]]
Henrik
18-Jan-2006
[4020]
didec, I would if I knew how to do that :-)
Graham
18-Jan-2006
[4021]
Is backeffect a new facet in VID ?
Henrik
18-Jan-2006
[4022]
brock, it's been a long and tough ride to get this far on my list 
view. This is actually somewhere around my 11th or 12th attempt at 
a list view where 3 of them were almost as functional as this one! 
So it has been because of this knowledge that it was possible to 
build LIST-VIEW this fast.
DideC
18-Jan-2006
[4023]
Have a look to the current list style. Use Anamonitor and look at 
the 'words facet. It's pretty easy to do.