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

Michael Van Canneyt michael at freepascal.org
Sat Aug 29 09:10:36 CEST 2020



On Fri, 28 Aug 2020, warleyalex via Pas2js wrote:

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

Yes, I have such a program. See the other mail.

Michael.


More information about the Pas2js mailing list