george's picture

Multiple glControls

I'm trying to get multiple glControls working within the same from. Currently the 2nd control refuses to display.
Is this something that's possible at the moment?

I'm also finding it impossible to create a working subclass of glControl. Again this refuses to display, the desinger keeps setting the Visible property to false every time I compile. Any ideas what might be going on here?


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler.'s picture

Confirmed.

It seems that the problem was introduced around version 0.3.10, where I started playing with the Visible property. The idea was to ensure the control's handle was created at a specific point.

It shouldn't be too hard to fix (*), thanks for reporting!

(*) famous last words

the Fiddler.'s picture

Ok, fixed the problem, I'm testing right now. If this problem is blocking you, you can checkout the bleeding edge code from "https://opentk.svn.sourceforge.net/svnroot/opentk/trunk".

george's picture

Thanks, I try and check it out next week.