code: def OnFind(self, event):
          
  
          # Search starts in next cell after the current one
          gridpos = list(self.grid.actions.cursor)
          text, flags = event.text, event.flags
          findpos = self.grid.actions.find(gridpos, text, flags)
  
          if findpos is None:
              # If nothing is found mention it in the statusbar and return
  
              statustext = _("'{text}' not found.").format(text=text)
  
          else:
              # Otherwise select cell with next occurrence if successful
              self.grid.actions.cursor = findpos
  
              # Update statusbar
              statustext = _(u"Found '{text}' in cell {key}.")
              statustext = statustext.format(text=text, key=findpos)
  
          post_command_event(self.grid.main_window, self.grid.StatusBarMsg,
                             text=statustext)
  
          event.Skip()
docs: Find functionality, called from toolbar, returns find position