home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BUG 11
/
BUGCD1998_02.ISO
/
email
/
sime
/
simdemo.z
/
phonemsg.frm
< prev
next >
Wrap
Text File
|
1997-12-09
|
1KB
|
29 lines
#ECSFORM
#
# phonemsg.tcl
#
form settitle "Phone Message"
label l1 -parent formwin -title "From" -left 20 -top 6 -right 120 -bottom 35
txeditline from -parent formwin -left 140 -top 6 -right 440 -bottom 35 -command ""
form setheader subject "Phone Message"
label l2 -parent formwin -title "Phone" -left 20 -top 39 -right 120 -bottom 68
txeditline number -parent formwin -left 140 -top 39 -right 440 -bottom 68 -command ""
label l3 -parent formwin -title "Company/Loc" -left 20 -top 72 -right 120 -bottom 101
txeditline company -parent formwin -left 140 -top 72 -right 440 -bottom 101 -command ""
label l4 -parent formwin -title "Message" -left 20 -top 105 -right 120 -bottom 134
txedit message -parent formwin -left 140 -top 105 -right 440 -bottom 200 -command ""
proc form_completion {} {
# note "begin of form_completion in phonemsg.frm"
# form setheader subject "Phone Message from [get_ctl_title from]"
set subject_changed [form headerMod "garbage"]
# note "subject changed = $subject_changed"
if {$subject_changed == "1"} {return}
set from_field [txeditctl from get]
# note "from_field in phonemsg = <$from_field>"
if {$from_field == ""} {return}
#note "subject in phone msg will be set to $from_field"
form setheader subject "Phone Message from $from_field"
}