/[papo]/gnue/forms/src/GFObjects/GFBlock.py
ViewVC logotype

Diff of /gnue/forms/src/GFObjects/GFBlock.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10.2.1 by apronotti, Thu Jan 30 21:14:48 2003 UTC revision 1.10.2.2 by styxman, Thu Jan 30 21:43:22 2003 UTC
# Line 221  class GFBlock(GFObj, GFEventAware): Line 221  class GFBlock(GFObj, GFEventAware):
221    # Moves the proper record into editing position    # Moves the proper record into editing position
222    #    #
223    def switchRecord(self, adjustment):    def switchRecord(self, adjustment):
224        if adjustment <> 0:
225          self.processTrigger('ON-SWITCH')
226      self._currentRecord = self._resultSet.getRecordNumber()      self._currentRecord = self._resultSet.getRecordNumber()
227      for entry in self._entryList:      for entry in self._entryList:
228        entry.recalculateVisible( adjustment, self._currentRecord, self._recordCount)        entry.recalculateVisible( adjustment, self._currentRecord, self._recordCount)
229        self._form.updateUIEntry(entry)        self._form.updateUIEntry(entry)
230    
231      if adjustment <> 0:      # update the scrollbars...
232        self.processTrigger('ON-SWITCH')      for sb in self._scrollBars:
233        # update the scrollbars...        sb.update (self._currentRecord, self._recordCount)
       for sb in self._scrollBars:  
         sb.update (self._currentRecord, self._recordCount)  
234    
235    #    #
236    # newRecord    # newRecord

Legend:
Removed from v.1.10.2.1  
changed lines
  Added in v.1.10.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26