Skip to main content

initButtons

Short Summary

This method initializes the Buttons for the HMI (all visible, all disabled).

Parameters

none

Code

Declaration

METHOD PRIVATE initButtons

Implementation

THIS^.buttons.Start.visible := TRUE;
THIS^.buttons.Start.enabled := FALSE;
THIS^.buttons.Stop.visible := TRUE;
THIS^.buttons.Stop.enabled := FALSE;
THIS^.buttons.StopRequest.visible := TRUE;
THIS^.buttons.StopRequest.enabled := FALSE;
THIS^.buttons.Pause.visible := TRUE;
THIS^.buttons.Pause.enabled := FALSE;
THIS^.buttons.StepMode.visible := TRUE;
THIS^.buttons.StepMode.enabled := FALSE;