Am 16.06.2014 um 22:57 schrieb Jim Pitchford <[email protected]>:

> Christian
> 
> I tried this but it sticks where indicated:
> 
>  //create a new view
>  dim v as new NSViewMBS (0,0, 400, 600)

here you create a dummy NSViewMBS. It doesn't so much.

>  //create the graphics associated with the view
>  dim nsg as NSGraphicsMBS = NSGraphicsMBS.graphicsContextWithNSView(v) //<< 
> Routine stops here and returns

This causes exception as view is not part of a window.
You see messages in Console.

I'll fix it to raise NSException.

> Am I missing something in creating the NSView or NSGraphics?

Why not simply use NSViewMBS of Textarea?

Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

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

Reply via email to