code: def OnLineColor(self, event):
          
  
          color = event.GetValue().GetRGB()
          borders = self.bordermap[self.borderstate]
  
          post_command_event(self, self.BorderColorMsg, color=color,
                             borders=borders)
docs: Line color choice event handler