Hi Guys,
I got the example code above from Abaksoft working, but I'm not sure about the best way to use the code in my situation.
I'm simply trying to save the position of a splitter when the user closes the form, and then retrieve that position when the user opens the form next.
Say I've got :
panLeft - TUniPanel : alignment set to alLeft
splitter1 - TUniSplitter : alignment set to alLeft
panClient - TUniPanel : alignment set to alClient
I'm doing the setItem in the OnClose event of the form. Is this the correct place, and what code should I use?
And then in the OnBeforeShow event, I'm trying to do the getItem. Should this be in the OnBeforeShow or OnAfterShow? And how do I code to reset the splitter position?
Thanks for any help,
Paul