ListView.st
changeset 2325 3d0f2d7f69d9
parent 2322 7d8f3c26a047
child 2331 218a017dc1f3
equal deleted inserted replaced
2324:98f7a9a4c50a 2325:3d0f2d7f69d9
   564 
   564 
   565     "Modified: 22.5.1996 / 12:26:55 / cg"
   565     "Modified: 22.5.1996 / 12:26:55 / cg"
   566 ! !
   566 ! !
   567 
   567 
   568 !ListView methodsFor:'accessing-behavior'!
   568 !ListView methodsFor:'accessing-behavior'!
       
   569 
       
   570 scrollWhenUpdating
       
   571     "return the scroll behavior, when I get a new text 
       
   572      (via the model or the #contents/#list)
       
   573      Possible returnValues are:
       
   574         #keep / nil     -> no change
       
   575         #endOfText      -> scroll to the end
       
   576         #beginOfText    -> scroll to the top
       
   577      The default is #beginOfText.
       
   578      This may be useful for fields which get new values assigned from
       
   579      the program (i.e. not from the user)"
       
   580 
       
   581     ^ scrollWhenUpdating
       
   582 !
   569 
   583 
   570 scrollWhenUpdating:aSymbolOrNil
   584 scrollWhenUpdating:aSymbolOrNil
   571     "define how to scroll, when I get a new text 
   585     "define how to scroll, when I get a new text 
   572      (via the model or the #contents/#list)
   586      (via the model or the #contents/#list)
   573      Allowed arguments are:
   587      Allowed arguments are:
  4270 ! !
  4284 ! !
  4271 
  4285 
  4272 !ListView class methodsFor:'documentation'!
  4286 !ListView class methodsFor:'documentation'!
  4273 
  4287 
  4274 version
  4288 version
  4275     ^ '$Header: /cvs/stx/stx/libwidg/ListView.st,v 1.245 2000-11-24 10:47:13 martin Exp $'
  4289     ^ '$Header: /cvs/stx/stx/libwidg/ListView.st,v 1.246 2000-12-06 12:27:11 cg Exp $'
  4276 ! !
  4290 ! !