Christian

Having got cocoaControlMBS working I now need to determine how to capture 
mouseDown or GotFocus events for the control. I can see from your documentation 
that I need a customNSViewMBS to get the events - but I cannot see how to link 
them together.

Currently I have:

Private Function set_view() As NSViewMBS
  
  textView=new MyNSTextViewMBS(0,0,me.Width,me.Height)
  
  scrollview=new NSScrollViewMBS(0,0,me.Width,me.Height)
  scrollview.documentView=textView
  
  customView = new MyCustomNSView(0,0,me.width, me.height)
  customView.addSubview(textView)
  
  return customView
  
End Function

Also customView.acceptsFirstResponder = true

But the events in customView are not firing. I know I’m missing some logic 
somewhere.

Jim
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to