BufferedValueHolder.st
changeset 268 1998023f12dc
parent 231 2fec6188bd28
child 731 15eb4ab07b95
equal deleted inserted replaced
267:7542f7cb2786 268:1998023f12dc
    71 
    71 
    72         dialog addAbortButton; addOkButton.
    72         dialog addAbortButton; addOkButton.
    73 
    73 
    74         dialog open.
    74         dialog open.
    75 
    75 
    76         Transcript show:firstName value; show:' '; showCr:lastName value
    76         Transcript show:firstName value; show:' '; showCR:lastName value
    77                                                                         [exEnd]
    77                                                                         [exEnd]
    78 
    78 
    79 
    79 
    80     buffered (values are only stored when accepted; undo reloads old values)
    80     buffered (values are only stored when accepted; undo reloads old values)
    81     (use an instance of TriggerValue. If a ValueHolder was used, we had
    81     (use an instance of TriggerValue. If a ValueHolder was used, we had
   108         dialog open.
   108         dialog open.
   109         dialog accepted ifTrue:[
   109         dialog accepted ifTrue:[
   110             trigger value:true
   110             trigger value:true
   111         ].
   111         ].
   112 
   112 
   113         Transcript show:firstName value; show:' '; showCr:lastName value
   113         Transcript show:firstName value; show:' '; showCR:lastName value
   114                                                                         [exEnd]
   114                                                                         [exEnd]
   115 "
   115 "
   116 ! !
   116 ! !
   117 
   117 
   118 !BufferedValueHolder class methodsFor:'initialization'!
   118 !BufferedValueHolder class methodsFor:'initialization'!
   202 ! !
   202 ! !
   203 
   203 
   204 !BufferedValueHolder class methodsFor:'documentation'!
   204 !BufferedValueHolder class methodsFor:'documentation'!
   205 
   205 
   206 version
   206 version
   207     ^ '$Header: /cvs/stx/stx/libview2/BufferedValueHolder.st,v 1.10 1996-04-27 17:58:45 cg Exp $'
   207     ^ '$Header: /cvs/stx/stx/libview2/BufferedValueHolder.st,v 1.11 1996-05-18 15:37:03 cg Exp $'
   208 ! !
   208 ! !