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

World: r3wp

[View] discuss view related issues

[unknown: 10]
14-May-2005
[1081]
sorry
Volker
14-May-2005
[1082]
encryption contest? ;)
[unknown: 10]
14-May-2005
[1083]
:)
eFishAnt
14-May-2005
[1084x5]
Volker....ditto from me.  (Gab? ;-)
in this case, 'win should also be shown in the Script Error.
oops, that is not right...hang on.
(I think there is a good set up here somewhere...)
it should be 'win. (too much caffeine)
François
14-May-2005
[1089]
Just my 1 cent contribution: there is a bug with the drop-down face 
when no action is set. The 'action facet defaults wrongly to 'show-dropdown, 
making the drop-down to freeze when the user does not override it. 
The fix is simply drop-down with [action: none]
Gabriele
15-May-2005
[1090]
françoise: please ad it to rambo if it's not there yet.
Micha
15-May-2005
[1091x3]
plis samples     set-it list ?
REBOL []
donnees: [
  ["un" 1 "rouge"]
  ["deux" 2 "vert"]
  ["trois" 3 "jaune"]
  ["quatre" 4 "bleu"]
]

view layout [ 
 list 300x200 [
    across 
    c1: text 100  [  c1/color: red ]

    c2: text 30
    c3: text 170
  ] supply [ print [ count index ]

   print [ face/font/color face/font ]



    ; SUPPLY est en fait une fonction avec 3 arguments :

    ; face=le facet, count=indice de la ligne, index=indice de la colonne

    face/text: either count > length? donnees [
      ""
    ] [
      to-string donnees/:count/:index
    ]
  ]
button "halt" [halt]]
what do to make  in order to  only  active column was red ?
shadwolf
15-May-2005
[1094x4]
I have a proble to submit to VID GURUS... My problem is the following 
I writing a click and scroll algorithm. (ike In MDP-GUI you have 
the floating toc window panel when you click on on of the title shows 
in the floating toc window the visualisation scroll to the related 
title. But this show the title on the middle of the screen and no 
on the top of the visualisation pane. The forumal I apply is sld/data: 
related-offet/y  / sub-pane-visualisation/size/y  and then I apply 
the scroll function. What must be the for mula to have always the 
related title in the visualisation pane on the top part of the screen
I make an image to show you the dilema I build an image that explain 
what is the actual problem and what I want http://shadwolf.free.fr/clic-scroll-img.jpg
for example title 4  with related-offse/yt: 1586 and sub-pan-visualisation/size/y: 
3142 i get a sld/data: 0.504774029280713 and I have the title around 
the middle of the visualisation box. If I use the scroller to place 
the title 4 on the top of the visualisation pane I get sld/data: 
0.602247191011236
I hope youcould helpme to solve this problem it's a long time since 
I'm trying to solve it
Volker
15-May-2005
[1098]
qick hack: if its always in the middle, subtract half your sub-pane/size/y 
+- something
Anton
16-May-2005
[1099]
Micha,
active-column: 1

supply [ ...   face/colour: either index = active-column [red][none] 
 ...]
DideC
16-May-2005
[1100]
Shadwolf: I guess first title is shown at top and last is shown at 
bottom, yes or no ?
Pekr
16-May-2005
[1101]
I  wonder why scrollers have such terrible lag on 1.8GHz pentium. 
Although new demo si cool, I wonder if REBOL it is not able to provide 
us with real-time feeling even if AGG is on-board?
[unknown: 10]
16-May-2005
[1102x2]
Will there be an 'save/svg option for it in 1.3 ?
I mean when SVG is supported will it be interactive for rebol gfx 
only or can it be exported also?
Pekr
16-May-2005
[1104x2]
I am not sure AGG supports SVG directly? I expect it being very capable 
vector engine, so we have to build kind of SVG parser plus viewer 
ourselves? Or am I wrong?
One of my friends who is back to Rebol after he tried other tools 
:-), would like to know, if there is any docs available on low-level 
= face-level View work. I found some, but he would like to see some 
comments onto how to create own styles. IIRC Graham or someone else 
tried to provide such descriptions ...
[unknown: 10]
16-May-2005
[1106]
I expect that the View 1.3 release will bring more inside / detailed 
documention as well on view. Although i realy hope RT can fix that 
intime its a absolute must :-)
Gabriele
16-May-2005
[1107]
petr: i think the best info available is that on the rebgui's site.
[unknown: 10]
16-May-2005
[1108]
the SVG view can be firefox/mozilla... thats why i asked if view 
can save/svg  ;-) that would extend Rebol View into a Very usefull 
SVG tool as well !!
Gabriele
16-May-2005
[1109]
about SVG: i don't think that will be supported natively. it's not 
that hard to do that in rebol, a cyphre has something working already.
[unknown: 10]
16-May-2005
[1110]
A great... if thats possible im happy already :)
JaimeVargas
16-May-2005
[1111]
Rebolinth anyone can write an SVG emitter, just like there is a Flash 
emitter. I think this complex and unique enough that it shouldn't 
be included in the base. But 3rd party script will do.
Pekr
16-May-2005
[1112]
I know - but RebGUI will not explain me how to construct styles, 
no? Those thigs like init method description etc. IIRC there was 
some attempt to write it down, so, links apreciated :-)
shadwolf
16-May-2005
[1113x4]
I solve my problem the good formula is sld/data: ((related-offset/y 
- (40 * scale)) / (docu/pane/size/y - docu/size/y )  )
thanks to DideC, Volker and most specificly to Brock witch helps 
me a lot
the problem was complicate to understand and chatting with brock 
help me a lot to think
and find the solution
Brock
16-May-2005
[1117]
I'm glad you figured it out... I"m still scratching my head :-)
shadwolf
16-May-2005
[1118x2]
hum it's more by chance than because I really understoud the meaning 
of this algorithm ;)
well part of chance is important too :)
Allen
17-May-2005
[1120]
Mental blank. How to set the selected item in a rotary?
Graham
17-May-2005
[1121]
make it the first item in the list?
Allen
17-May-2005
[1122]
I've been unable to to change it once displayed. But I've got a work 
around where I change the data list before it is created. that gets 
me out of trouble for now.
Ammon
17-May-2005
[1123x7]
Hm...  Seem to be recalling...
Yes, that was it...
view layout [this-rotary: rotary "one" "two" "three" [probe face/text 
probe face/data] button "change rotary"  [this-rotary/
data: find this-rotary/data "three" show this-rotary]]
Dang Edit Mode...
Watch the line wrap there...
;a little cleaner...
view layout [
    this-rotary: rotary "one" "two" "three"  

    button "change rotary"  [this-rotary/data: find this-rotary/data 
    "three" show this-rotary]
]
You should note that because Rotary uses the current index of its 
data facet that you may have to use 'head on the 'data to be able 
to 'find the value your looking for...
Allen
18-May-2005
[1130]
thanks ammon, I was try to do it via face/texts block