code: def on_right_down(self, event):
      if self.HitTest(event.GetPosition()) == wx.HT_WINDOW_INSIDE:
          index = self.hit_test(event.GetPosition()[0])
          self.__cursor_pos = index
          self.SetFocus()
          self.show_caret()
          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 22 for calling the MetadataControl obj's underlying member method code with example usage: obj.on_right_down(event) without return types