Forum > OpenGL
OpenGLContext on a tab page
(1/1)
JasonLugg:
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
User137:
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.
Leledumbo:
Drop a TPageControl, add a page, drop TOpenGLContext on that page.
Navigation
[0] Message Index