Hi List,

How can the same thing be an object or a block ? See an example:

; a simple layout
lay: layout [
        text "Hello"
        button "Test" [mytest face]
]

; explore lay/pane
mytest: func [
        f [object!]
        /local f2
][
        ; here an object
        foreach face lay/pane [
                print [face/style type? face]
        ]

        ; here a block
        f2: find lay/pane f
        print type? f2

]

view center-face lay


Is this normal?

What I am looking for is a way to navigate through window/pane to
change some faces without the need of a variable. For example, with a
layout composed of a,b,c,d,e I would like that a click on b will
change c. In other words, knowing one face, being able to move to the
next or the previous face.

Is this possible?

-- 
Best regards,
Patrick

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to