problems with Slider-VID in REBOL/View1.3
[1/5] from: D::Weyand::gmx::de at: 16-Jun-2005 13:46
Hi list,
does anybody know the reason why View1.3 behaves like this?
>> system/version
== 1.3.0.3.1
>> layout [foo: slider]
>> foo/pane/size
** Script Error: Invalid path value: size
** Near: foo/pane/size
Is it a bug? Or did the VID-style for sliders changes in the new release?
Why is the pane of a slider a block! now?
Thereīs no error using View1.2:
>> system/version
== 1.2.1.3.1
>> layout [foo: slider]
>> foo/pane/size
== 12x19
--
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
[2/5] from: petr:krenzelok:trz:cz at: 16-Jun-2005 13:58
>>>layout [foo: slider]
>>>foo/pane/size
>>>
>>>
>** Script Error: Invalid path value: size
>** Near: foo/pane/size
>
Dunno if design changed, probably not, as I get similar result with
Command/View 1.2.10, but you can try:
probe foo/pane
type? foo/pane
And you will see, that it is a block. Maybe slider is supposed to allow
more than one elements, e.g. arrows, so try:
foo/pane/1/size
HTH,
PS: I overcame my laziness and found 1.2.1 and you are right - pane was
object back at that time - but that was loooong time ago. Forget 1.2.1 -
there was never any such version. View starts from 1.3 :-)
-pekr-
[3/5] from: greggirwin::mindspring::com at: 16-Jun-2005 9:39
Hi Dirk,
DW> does anybody know the reason why View1.3 behaves like this?
>>> system/version
DW> == 1.3.0.3.1
>>> layout [foo: slider]
>>> foo/pane/size
DW> ** Script Error: Invalid path value: size
DW> ** Near: foo/pane/size
The SLIDER style used to do this:
pane: make dragger []
Now it does this:
pane: reduce [make dragger [edge: make edge []]]
Other internal changes make it look like it's intentional; perhaps
because the new SCROLLER style is based on SLIDER?
-- Gregg
[4/5] from: D::Weyand::gmx::de at: 20-Jun-2005 14:15
Hi Pekr, hi Gregg,
thanks for your comments.
As those design changes in View 1.3 were intented, I believe I have to
implement some workarounds :-( in my scripts to keep them running fine with
View 1.3 .
> Forget 1.2.1 - there was never any such version. View starts from 1.3 :-)
Thatīs true for the mainstream OSes, but I have to stick with 1.2.1 , as RT
doesnīt support my target OS anymore:-(.
--
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
[5/5] from: greggirwin::mindspring::com at: 20-Jun-2005 8:16
Hi Dirk,
DW> Thatīs true for the mainstream OSes, but I have to stick with 1.2.1 , as RT
DW> doesnīt support my target OS anymore:-(.
Se sure to submit this to RAMBO, and make note of what OS's you need
to support.
-- Gregg