code: def OnLeftDown(self, event):
      if self.HitTest(event.GetPosition()) == wx.HT_WINDOW_INSIDE:
          self.__cursor_pos = self.hit_test(event.GetPosition()[0])
          if self.FindFocus() == self:
              self.show_caret()
          else:
              event.Skip()
          self.CaptureMouse()
          self.selection = [self.__cursor_pos, self.__cursor_pos]
      else:
          event.Skip()
  
imports: import wx
  import wx.lib.masked
  from cellprofiler_core.constants.measurement import C_FRAME
  from cellprofiler_core.constants.measurement import C_METADATA
  from cellprofiler_core.constants.measurement import C_SERIES
  from cellprofiler_core.constants.measurement import IMAGE
  from cellprofiler_core.preferences import get_primary_outline_color
label_desc: Use image node_id 19 for calling the MetadataControl obj's underlying member method code with example usage: obj.OnLeftDown(event) without return types