[Pas2js] html widgets layout question

Michael Van Canneyt michael at freepascal.org
Fri Oct 2 18:19:06 CEST 2020



On Fri, 2 Oct 2020, heliosroots wrote:

> There should be a more simplified way of handling this at TcustomWidget ....
> example:
>
>
> Widget.Classes := Widget.AddClasses('MyClass1 MayClass2''); 
> Widget.Classes := Widget.RemoveClasses('MyClass1 MayClass2'');
>
> it would be simpler just ...
>
> Widget.AddClasses('MyClass1 MayClass2''); 
> Widget.RemoveClasses('MyClass1 MayClass2'');

Indeed. I will change the implementation.

Michael.


More information about the Pas2js mailing list