(Rebol/View question)

You are saving a handle, so to speak,
to the screen object when you assign 
it to a variable.  If you dont do that,
the element is still in the user interface,
but you have no way to refer to it later 
without assigning it to some word.

Your example was assigning the label 
of the field rather than the field itself.
This should work better.

REBOL []

view layout [

    backdrop 0.128.0 title "Pauls FTP Access" 255.255.0

    text "Enter Host Address"
    host-addr: field "127.0.0.1"

    text "Enter Login Name"
    login-name: field  "administrator"

    text "Enter Password"
    Pass-word: field "whatever"

    button "test" [

         ;comment- ftp://administrator:[EMAIL PROTECTED]

         print to url! join copy "" [
           "ftp://"
           login-name/text
           ":"
           Pass-word/text
           "@"
           host-addr/text
         ]

  [snip...]

-Galt

Reply via email to