home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
mnemonicbu.tcl
< prev
next >
Wrap
Text File
|
1996-05-29
|
1KB
|
48 lines
#---------------------------------------------------------------------------
#
# (c) Westmount Technology 1994
#
# File: @(#)mnemonicbu.tcl 1.5
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)mnemonicbu.tcl 1.5 08 Jan 1996 Copyright 1994 Westmount Technology
# Start user added include file section
# End user added include file section
Class MnemonicButton : {DropDwnList} {
constructor
method destructor
method entrySet
}
constructor MnemonicButton {class this name} {
set this [DropDwnList::constructor $class $this $name]
# Start constructor user section
$this rowCount 5
# End constructor user section
return $this
}
method MnemonicButton::destructor {this} {
# Start destructor user section
# End destructor user section
}
method MnemonicButton::entrySet {this name} {
set selection [$this selected]
set list { " " }
for {set i 0} {$i < [string length $name]} {incr i} {
lappend list [string index $name $i]
}
$this DropDwnList::entrySet $list
$this selected $selection
}
# Do not delete this line -- regeneration end marker