UpdateSliderContentRegion
function UpdateSliderContentRegion(MainContentRegion: TcHmi.Controls.System.TcHmiRegion, SliderContentRegion: TcHmi.Controls.System.TcHmiRegion, MainContentSpecificToggleButton: TcHmi.Controls.Beckhoff.TcHmiToggleButton, NavigationToggleButton: TcHmi.Controls.Beckhoff.TcHmiToggleButton): void
The function UpdateSliderContentRegion is used to load the appropriate TcHmiContent into the TcHmiRegion control for the slider content, depending on the displayed TcHmiContent in the TcHmiRegion control for the main content, provided the ToggleState property of the corresponding TcHmiToggleButton control (with the ID MainContentSpecificToggleButton) is set to Active
. The TcHmiToggleButton control is additionally assigned an associated icon as BackgroundImage property from the NuGet package Beckhoff.TwinCAT.HMI.Plastic.Images
.
Main content path | Slidercontent path | Icon path |
---|---|---|
Contents/Navigation/Axes/Blowpin/Blowpin.content | Contents/Slider/Axes/Blowpin/Blowpin_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Axes/Blowpin/Blowpin.svg |
Contents/Navigation/Axes/Blowpin/Blowpin_Homing.content | Contents/Slider/Axes/Blowpin/Blowpin_Homing_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Axes/Blowpin/BlowpinHoming.svg |
Contents/Navigation/Axes/Carriage/Carriage.content | Contents/Slider/Axes/Carriage/Carriage_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Axes/Carriage/Carriage.svg |
Contents/Navigation/Axes/Carriage/Carriage_Homing.content | Contents/Slider/Axes/Carriage/Carriage_Homing_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Axes/Carriage/CarriageHoming.svg |
Contents/Navigation/Axes/Clamp/Clamp.content | Contents/Slider/Axes/Clamp/Clamp_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Axes/Clamp/Clamp.svg |
Contents/Navigation/Axes/Clamp/Clamp_Homing.content | Contents/Slider/Axes/Clamp/Clamp_Homing_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Axes/Clamp/ClampHoming.svg |
Contents/Navigation/Extruder/Trend.content | Contents/Slider/Extruder/Extruder_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Extruder/Extruder.svg |
Contents/Navigation/Parameters/Parameters_Blowpin.content | Contents/Slider/Parameters/Parameters_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Parameters/ParametersBlowpin.svg |
Contents/Navigation/Parameters/Parameters_Carriage.content | Contents/Slider/Parameters/Parameters_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Parameters/ParametersCarriage.svg |
Contents/Navigation/Parameters/Parameters_Clamp.content | Contents/Slider/Parameters/Parameters_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Parameters/ParametersClamp.svg |
Contents/Navigation/Parameters/Parameters_CoExtruder.content | Contents/Slider/Parameters/Parameters_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Parameters/ParametersCoExtruder.svg |
Contents/Navigation/Parameters/Parameters_MainExtruder.content | Contents/Slider/Parameters/Parameters_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Parameters/ParametersMainExtruder.svg |
Contents/Navigation/Parameters/Parameters_Monitoring.content | Contents/Slider/Parameters/Parameters_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Parameters/ParametersMonitoring.svg |
Contents/Navigation/Parameters/Parameters_Setpoints.content | Contents/Slider/Parameters/Parameters_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Parameters/ParametersSetpoints.svg |
Contents/Navigation/Parameters/Parameters_Temperature.content | Contents/Slider/Parameters/Parameters_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Parameters/ParametersTemperature.svg |
Contents/Navigation/Parameters/Parameters_Wtc.content | Contents/Slider/Parameters/Parameters_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Parameters/ParametersWtc.svg |
Contents/Navigation/System/RecipeManagement.content | Contents/Slider/System/RecipeManagement_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Parameters/ParametersRecipeManagement.svg |
Contents/Navigation/Temperature/Temperature_Parameters.content | Contents/Slider/Temperature/Temperature_Parameters_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Parameters/ParametersTemperature.svg |
Contents/Navigation/Temperature/Temperature_TimeScheduling.content | Contents/Slider/Temperature/Temperature_TimeScheduling_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Temperature/TemperatureTimeScheduling.svg |
Contents/Navigation/Temperature/Temperature_Zones.content | Contents/Slider/Temperature/Temperature_Zones_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Temperature/TemperatureTimeScheduling.svg |
Contents/Navigation/Wtc/Wtc.content | Contents/Slider/Wtc/Wtc_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Wtc/Wtc.svg |
Contents/Navigation/Wtc/Wtc_Homing.content | Contents/Slider/Wtc/Wtc_Homing_Settings.content | Beckhoff.TwinCAT.HMI.Plastic.Images/Wtc/WtcHoming.svg |
Parameter
Name | Type | Description |
---|---|---|
MainContentRegion | The TcHmiRegion control where the main content is displayed. | |
SliderContentRegion | The TcHmiRegion control in which the associated slider content of the main content is to be displayed. | |
MainContentSpecificToggleButton | The TcHmiToggleButton control, which is used to display the slider content in the slider area. | |
NavigationToggleButton | 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.6.0
Usage: TC3 Plastic Application HMI projects