![]() |
VOOZH | about |
dotnet add package JB.TcHmiDynamicPopup --version 2.0.2
NuGet\Install-Package JB.TcHmiDynamicPopup -Version 2.0.2
<PackageReference Include="JB.TcHmiDynamicPopup" Version="2.0.2" />
<PackageVersion Include="JB.TcHmiDynamicPopup" Version="2.0.2" />Directory.Packages.props
<PackageReference Include="JB.TcHmiDynamicPopup" />Project file
paket add JB.TcHmiDynamicPopup --version 2.0.2
#r "nuget: JB.TcHmiDynamicPopup, 2.0.2"
#:package JB.TcHmiDynamicPopup@2.0.2
#addin nuget:?package=JB.TcHmiDynamicPopup&version=2.0.2Install as a Cake Addin
#tool nuget:?package=JB.TcHmiDynamicPopup&version=2.0.2Install as a Cake Tool
This is a personal guide not a peer reviewed journal or a sponsored publication. We make no representations as to accuracy, completeness, correctness, suitability, or validity of any information and will not be liable for any errors, omissions, or delays in this information or any losses injuries, or damages arising from its display or use. All information is provided on an as is basis. It is the readerβs responsibility to verify their own facts.
The views and opinions expressed in this guide are those of the authors and do not necessarily reflect the official policy or position of any other agency, organization, employer or company. Assumptions made in the analysis are not reflective of the position of any entity other than the author(s) and, since we are critically thinking human beings, these views are always subject to change, revision, and rethinking at any time. Please do not hold us to them in perpetuity.
Nuget package created for version 1.14.3.8
In version 1.12.760.x a new TcHmiPopup control was added to TwinCAT HMI.
Instead of having to add the Popup manually to the view/content this nuget package is dynamically creating a usercontrol/content by calling a javascript function and it will have the same look & feel as the new TcHmiPopup that you can find in the toolbox.
The nuget package consists of only one function:
π enter image description here
Use the function in any event (for example .onPressed in a button):
π enter image description here
Parameters in the function:
Without modal:
π enter image description here
With modal:
π enter image description here
Easiest way to install this package is inside your TwinCAT HMI Project. Right click References and click "Manage NuGet Packages.." then browse for the file and install it!
Learn more about Target Frameworks and .NET Standard.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
Fixed issue with popup not getting removed correctly after close