[Pas2js] fieldset (or other tag) change the disabled attribute

Luca Olivetti luca at ventoso.org
Thu Sep 29 20:45:55 CEST 2022


El 29/9/22 a les 20:04, Michael Van Canneyt via Pas2js ha escrit:

> 
> Stay as close as possible to the underlying element, so 'disabled' seems
> best.

OK, done
https://gitlab.com/freepascal.org/fpc/pas2js/-/merge_requests/24

> 
>>
>> The second question (T*Widgets vs. TJSHTMElements) is still unanswered 
>> ;-)
> 
> It cannot be answered in general: it depends on your needs.
> 
> For more complicated projects I personally use the widgets because they 
> automate
> many tasks.

Too much: I just had to change a TImageWidget to a TJSHTMLImageElement 
because the former set the width and height of the img element to 0 :-(

Bye
-- 
Luca


More information about the Pas2js mailing list