[Pas2js] TCustomWebWidget suggestions

Michael Van Canneyt michael at freepascal.org
Wed Nov 25 12:16:47 CET 2020



On Wed, 25 Nov 2020, Michael Van Canneyt wrote:

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

All done in rev. 951.

Note that calling focus will render the widget if it was not yet rendered.

Michael.


More information about the Pas2js mailing list