[Pas2js] how many input fields can be created by using TTextInputWidget;

warleyalex warleyalex at yahoo.com.br
Fri Aug 28 23:59:33 CEST 2020


In you code there is a minor typo error:

o22:=TTextInputWidget .Create(Self);
ol22:=TLabelwidget.Create(Self);
ol22.Text:='Šimek a';
ol22.LabelFor:=o1;
ol22.Parent:=FMyPage;
o22.Parent:=FMyPage;
ol22.refresh;
o23.Refresh;  // ---> should be o22.Refresh; :)

--------------------------------------------------------
Another thing: I think it is possible to generate .pas unit satements
on-the-fly from a .html design.
1st you design .html file and then generate pas2js .pas corresponding unit.





--
Sent from: http://pas2js.38893.n8.nabble.com/


More information about the Pas2js mailing list