[Pas2js] TCustomWebWidget suggestions

Michael Van Canneyt michael at freepascal.org
Wed Nov 25 09:00:11 CET 2020

On Tue, 24 Nov 2020, heliosroots wrote:

> TCustomWebWidget is missing some methods
> * TCustomWebWidget.Focus () => To switch focus between widget ....

Will add.

> * TCustomWebWidget.ReplaceClass () => For class handling on one line .... it
> would avoid "remove" and "add"

For some TMS Web core projects I created AddRemove(). 
The difference with replace is that is the class to be removed is not there, the 'add' part is added anyway.

I will add both.


More information about the Pas2js mailing list