[Pas2js] TCustomWebWidget(DefaultParentElement)

Michael Van Canneyt michael at freepascal.org
Fri Nov 27 11:30:34 CET 2020



On Fri, 27 Nov 2020, heliosroots wrote:

> I understand ... in your case it works like a singleton .... in my case not,
> because it could have two simultaneous dialogues .... similar to a modal
> form of lcl

I have multiple toasts open as well ?

<div id="toast-parent">
   <div id="toast-1></div>
   <div id="toast-2></div>
</div>

And DefaultParentElement,DefaultParent,FixedElement are indeed meant as a singleton.

>From what I hear, I think you better simply set ParentID in the constructor
of your widget ?


Michael.

>
>
>
> --
> Sent from: http://pas2js.38893.n8.nabble.com/
> _______________________________________________
> Pas2js maillist  -  Pas2js at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js


More information about the Pas2js mailing list