Lazarus
Programming => Graphics and Multimedia => OpenGL => Topic started by: JasonLugg on April 23, 2012, 02:21:01 pm
-
Hi All
Thanks in advance for any assistance!!!
Can someone tell me how to create an openglcontext on a tab page. I can create one that has its own form but I need one on a tab page so that it is only visible when the user selects that tab?
Is it possible? if so how?
Thanks
-
TOpenGLContext is same kind of visual component that TButton is. If you can create TButton on a tab page, then you can make opengl context too. But i'm not sure how well it handles hardware accelerated graphics being hidden/shown in a tab.
-
Drop a TPageControl, add a page, drop TOpenGLContext on that page.