GithubHelp home page GithubHelp logo

ddablib / wdwstate Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 208 KB

Window State Components

Batchfile 1.17% Pascal 98.83%
components delphi delphi-components delphi-library pascal pascal-library window-management windows

wdwstate's People

Contributors

delphidabbler avatar

Watchers

 avatar

wdwstate's Issues

Remove WinHelp files

WinHelp is way out of date & not supported at all on Windows 10 & 11.

Remove these files at the next major release.

TPJWdwState - using Restore and Save methods other than Form's OnShow and OnHide

Recreated from delphidabbler/ddablib repository issue 3

Recreated 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.