Very good question. First, understand that SavePanelState saves off all VALUES of controls, not all attributes as well. If you have programmatically changed the attributes of any control at run-time, that information will not be saved off by SavePanelState. Unfortunately, custom controls like the OGL Graph, do not save off control values with SavePanelState. If you are using CVI 6.0, you could switch to our ActiveX 3D Graph from our VB tools instead of the OGL graph which WILL save off control settings with SavePanelState(). Otherwise, you will have to save the state of the OGL control manually.
Best Regards,
Chris Matthews
National Instruments