UpdateSliderContentRegionEx

function UpdateSliderContentRegionEx(MainContentRegion: TcHmi.Controls.System.TcHmiRegion, SliderContentRegion: TcHmi.Controls.System.TcHmiRegion, MainContentSpecificToggleButton: TcHmi.Controls.Beckhoff.TcHmiToggleButton, NavigationToggleButton: TcHmi.Controls.Beckhoff.TcHmiToggleButton): void

The function UpdateSliderContentRegionEx is used to update the slider content using the set scheme of the NavigationConfig property of the Configurator control. Depending on the displayed TcHmiContent in the TcHmiRegion control for the main content, the appropriate TcHmiContent is loaded into the TcHmiRegion control for the slider content, provided the ToggleState property of the associated TcHmiToggleButton control (with the ID MainContentSpecificToggleButton) is set to Active. In addition, an icon is assigned to the TcHmiToggleButton control as BackgroundImage property, which is also configured via the NavigationConfig property.

Parameter

Name

Type

Description

MainContentRegion

TcHmi.Controls.System.TcHmiRegion

The TcHmiRegion control where the main content is displayed.

SliderContentRegion

TcHmi.Controls.System.TcHmiRegion

The TcHmiRegion control in which the associated slider content of the main content is to be displayed.

MainContentSpecificToggleButton

TcHmi.Controls.Beckhoff.TcHmiToggleButton

The TcHmiToggleButton control, which is used to display the slider content in the slider area.

NavigationToggleButton

TcHmi.Controls.Beckhoff.TcHmiToggleButton

The TcHmiToggleButton control, which is used to display the navigation page in the slider area.

Return value

Type

Description

void

No return value.

NuGet package: Beckhoff.TwinCAT.HMI.Plastic.Functions

Available: from version 12.8.0

Usage: TC3 Plastic Application HMI projects