eva/3 Application BuilderDeveloping eva/3 ApplicationsWorking with FormsStandard Beans 

SNavigator

Fig. 161: SNavigator Icons
Fig. 161: SNavigator Icons

The SNavigator allows to scroll through the data records of a STableElement in a form. By the provided buttons, there can be navigated through the datarecords, new datarecords created, existing can be deleted, edited and saved.

Fig. 162: SNavigator at execution
Fig. 162: SNavigator at execution

The displayed icons of the buttons can be defined by the property Navigator Icon path in the file system.eva3. This property affects all SNavigator components used in the application. The appearance can be customized with the propertiesBorderPainted, ButtonBorderEffect, ButtonGap, ShowLabels and IconSize.

The SNavigator affects the STableElement entered in the property TableSource, by changing the record cursor of the table when navigating. So all components, wich reference to the STableElement will be updated. This concerns to input field like SFormattedField, SComboBox orr SCheckBox, as well as the selected row of a SScrollTable.

Fig. 163: SNavigator in design view
Fig. 163: SNavigator in design view

When data records are changed, so at moving the saving will be asked for. (s. Fig. 101). Changes, that are not saved can be rolled back. After the saving, the changes cannot be undone.

Fig. 164: Warning - Save Datarecord
Fig. 164: Warning - Save Datarecord