[ALLY] Double popup
[1/1] from: greg_piney::mcgraw-hill::com at: 25-Apr-2001 15:00
Gang,
I resurrected an old script and tried it out with View 1.1(windows).
I define a popup as a function then execute the function.
I get 2 windows to popup?????????????
Here is the short version of the code:
login-popup: func[] [ view layout [
styles my-styles
title " Administrator Login"
across
name "Login: " admin-name: inp 100x24
button "OK!" [ftpadm: admin-name/text
print reduce [ "pw = " admin-pw/data ]
ckpw: admin-pw/data
check-admin2
if admin-ok = "true" [
unview
show-main
]
]
return
name "Password:" admin-pw: password hide 100x24
across
button "Cancel" [quit ]
]
]
/* lots of other code here */
login-popup
*** end of code
TIA,
Greg Piney
Standard and Poor's Web Engineering