I'm using a forms SessionProperties to store the state of various components on the form.
All is working well and everything is restoring correctly, however I need to act on one of the restored values when the application first starts.
I have added code to the Form's onCreate event to read the particular value of the restored control, but it seems that the SessionProperties have not been read, or at least not applied to the form controls, at this time.
OnShow and onActivate are not really appropriate as the could be fired at times other than the application starting - unless I add additional code with a justStarted Boolean and check that, which seems a bit hacky.
So, when are SessionProperties actually read and applied and is there a safe event for TForm that can reliably read from the restored values of controls on the form?
Thanks,
-FM