TcHMI-Popups 1.1.6

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package TcHMI-Popups --version 1.1.6
NuGet\Install-Package TcHMI-Popups -Version 1.1.6
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TcHMI-Popups" Version="1.1.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TcHMI-Popups --version 1.1.6
#r "nuget: TcHMI-Popups, 1.1.6"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install TcHMI-Popups as a Cake Addin
#addin nuget:?package=TcHMI-Popups&version=1.1.6

// Install TcHMI-Popups as a Cake Tool
#tool nuget:?package=TcHMI-Popups&version=1.1.6

TwinCAT HMI Popups

An example code for TwinCAT HMI popup framework extension.

See releases for NuGet package!

Usage

  1. Create something to launch the popup

01_Desktop

  1. Add the CreatePopup function call from the Popups folder to the event

02_EventFunctionCall

  1. Add the call for ClosePopup to the button

02_EventFunctionCall_b

  1. Edit the parameters

03_UsercontrolParameters

  1. See the result

04_Action

Parameters

Parameters (TcHmi.Functions.Popups.PopupParameters)

  • The object containing all the parameters for the call

Bindings (TcHmi.Functions.Popups.BindingItemList)

  • List of all the bindings to a usercontrol popup. Bindings will be dismissed if content file is used.

Bindings.Parameter (String)

  • Property name OR Attribute name of the usercontrols parameter.
  • Property name is named "Name" if "Details" mode is not active.
  • Attribute Name can be seen also when "Details" mode is active.

Bindings.ParameterMode (TcHmi.Functions.Popups.UsercontrolBindingMode)

  • The flavor of the Parameter name.

Bindings.Symbol (String)

  • The symbol to be bound on the usercontrol.
  • Parameter symbols (%pp%) will be resolved before being used for the binding.

ContentFace (Path)

  • Usercontrol or Content to be shown in the popup.

Destination (String)

  • Where the popup should be added.
  • Typically views work best on this but is not limited to views.

Dragging (TcHmi.Functions.Popups.DraggingBehaviour)

  • Where the popup be draggable from:
    • Nowhere.
    • Anywhere.
    • From a item whichs ID includes "header" e.g. "Popup_Header", "ValvePopupHEADER", "headersomewherehere".
    • Body of the popup usercontrol.

InsertWherePressed (Boolean)

  • Should the popup be inserted where the user last pressed
  • The package listens all keypresses on the HMI View and save them to a global scope variable ClickPressCoordinates.
  • The positioning will be made with Left and Top properties.

Modal (Boolean)

  • Should the user be able to interact with things while popup is open.

Positioning (TcHmi.Functions.Popups.PositioningOptions)

  • The positioning data for the popup. Is used like in typical controls.
  • Take care of left and top when using with InsertWherePressed.

Version history

1.1.6

  • Bugfix: In TwinCAT HMI 1.12.754.x textboxes inside popups did not work.
  • Updated Beckhoff.TwinCAT.HMI.Framework version required to 12.754.4

1.1.5

  • Bugfix: Dragging could be stopped by dragging too quickly.

1.1.4

  • Bugfix: Dragging on PC based touch devices fixed.

1.1.3

  • Dragging the popup outside the area it lives is prohibted.
  • Bugfix: Header and body dragging did not work properly with touch.

1.1.2

  • Bugfix: Modal popup was not always the topmost popup.
  • Bugfix: Header draggable popup threw unnecessary error.

1.1.1

  • Bugfix: User was able to only move newest popup.
  • Bugfix: Modal background did not disappear when popup was closed.

1.1.0

  • Modal popup.
  • Definable dragging areas on the popup.
  • WidthMode and HeightMode added to positioning.

1.0.0

  • Initial release.
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • native 1.12 tchmi

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated

Initial release.