01-23-2006 05:21 PM
01-24-2006 02:51 AM
Just a question (I never tried it but it should be simple to test): are you passing to SavePanelState the handle of the "parent" panel (the one which holds the tab control) or the handles of the "child" ones (the panels grouped in the tab control)?
It is possible that if you are saving the parent panel you are not really saving the values of controls on the tabbed panels, which are indipendent entities in the program just grouped in the tab control for logic reasons.
Hope this helps
Roberto
01-24-2006 08:16 AM
Hi Roberto,
I've tried both the parent and child handles. Also tried using the Easy Tab Control handle returned by EasyTab_ConvertFromCanvas. Tried using LoadPanel with and without a parent ID as well as not doing a LoadPanel for any of the child panels. My application always compiles fine and runs the same. Controls on the parent always save, but the child panels don't.
What is the proper setup for the child panels? I assume I need a call to LoadPanel to get a handle for the individual child panels. Then it should be simple save and recalls referencing the child handle.
01-24-2006 08:42 AM
01-24-2006 09:23 AM