You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even if demos recommend using form's Show and Hide as places for Restore and Restore methods of TPJWdwState components, there can be reasons to place it e.g. in Create and Destroy. And there is code in Restore method reflecting this situation and factical restoring is to be postponed for time of form showing. In contrast, Save method doesn't check if factical restoring took place (affected form is not shown during session) and form's design-time state is saved instead. There is my correction of Save method source code:
begin
Assert(not (csDesigning in ComponentState));
// Check if there is an owning window - get out if notif fWindow = nilthen
Exit;
if fRestorePending then
Exit;
Other similar components can be affected the same way.
The text was updated successfully, but these errors were encountered:
Recreated from
delphidabbler/ddablib
repository issue 3The text was updated successfully, but these errors were encountered: