Home Segments Index Top Previous Next

735: Mainline

Now, you can assemble what you have just learned into the resetListBox callback method defined for the CalorieViewManager class. Note that callback methods sent in response to menu selections do not have arguments:

CalorieViewManager method definition • instance 
resetListBox 
  | theFileDialog file | 
  (theFileDialog := FileDialog new) 
    fileSpec: '*.dta';  
    open. 
  file := theFileDialog file. 
  ...