SlidingFunction
The CodeBehind function SlidingFunction enables the sliding of contents that are located in a TcHmiRegion with the ID Portrait_SliderContent_Region. A TcHmiGrid control is required on this content, where the ID is composed of the ID of the content and the ending _Grid
. The function changes the Left
property of the TcHmiGrid control to 0, -1024 or -2048 depending on the sliding movement. Thus a sliding function for up to three subpages with a width of 1024px each can be realized. If three subpages are desired, the TcHmiGrid control must have a width of 3052px accordingly.
NuGet package: Beckhoff.TwinCAT.HMI.Plastic.Functions
Available: from version 12.8.0
Usage: TC3 Plastic Application HMI projects