ddablib / wdwstate Goto Github PK
View Code? Open in Web Editor NEWWindow State Components
Window State Components
Providing a lot of backward compatibility for older compilers is a lot of work for diminishing returns.
Also, I can't test compilers before XE.
WinHelp is way out of date & not supported at all on Windows 10 & 11.
Remove these files at the next major release.
delphidabbler/ddablib
repository issue 3Recreated from SourceForge ticket no.35
Project:
wdwstate
Original creator was Ivo Ungermann - 2016-01-03
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 not
if fWindow = nil then
Exit;
if fRestorePending then
Exit;
Other similar components can be affected the same way.
Rename unit as DelphiDabbler.Lib.WdwState
.
.dcr
file will need renaming similarly.
The will be a breaking change so needs introducing at the next major version release.
Component registration code really should be in a separate unit, say DelphiDabbler.Lib.WdwStateDsgn
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.