Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[ALLY] Passing variables from window to window Re:

From: mdb:gci at: 1-Aug-2000 15:04

Greg, This code should do what you want, with the entered name showing up in label1 in win-2. Note however that i had to initialise label1 with all those x's, it won't work if you don't ?? Mike. REBOL [] win-1: layout [ size 400x100 across label "Enter your name?" you-are: field 75x20 return button "OK!" [ view/new win-2 label1/text: you-are/text show label1 ] ] win-2: layout [ across label "Hello" label1: label "xxxxxxxxxxxxxxxxxxxx" return button "ok" [quit] ] system/view/vid/vid-feel/focus you-are view win-1