Release Notes for Prosys Sentrol 4.2.0
This is a new minor release of Prosys Sentrol.
It will break backward compatibility of existing projects, if you have used the OnGetCaption or similar events in Sentrol Controls. See below in the Changed section.
Changed
- Moved: TPsVarLink.OnGetAsString from TPsControlVarLink
- TPsVarLink.OnGetAsString is also called for bad values!
- TPsGetAsStringEvent has a new parameter: Quality
- Renamed: TPsDisplayBox.OnGetValueCaption to OnGetAsString
- Renamed: TPsPanel.OnGetCaption to OnGetAsString
- Renamed: TPsLabel.OnGetCaption to OnGetAsString
- Renamed: TPsEdit.OnGetText to OnGetAsString
- Renamed: TPsComboBox.OnGetText to OnGetAsString
(Also note that these event handlers now require the new Quality parameter, so the forms will complain about missing properties and you need to modify the event handlers respectively!)
New
- TPsVar.IsBad, TPsVar.IsGood, TPsVar.IsUncertain
- TPsVarLink.IsBad, TPsVarLink.IsGood, TPsVarLink.IsUncertain
- TPsBool.Invert (alias of Toggle)
- TPsDisplayBox.OnGetCaption
- TPsCustomCompPanel.OnGetAsString (available in all composite display control)
- TPsCustomCompPanel/TPsDisplayBox.CaptionLabel & EngUnitLabel made public
- TPsCustomCompPanel/TPsDisplayBox.ValueParentFont
- TPsStringTree.IsChildOf, SiblingIndexOf, TreeNodeOfIndex
- New argument: TPsStringTree.Next/PrevSibling(..., WrapOver)
- Support blob data in storage connectors: map DataType vdtVariant to blob fields
- TPsStorageStmt.SetParamAsBlob, TPsStorageStmt.LoadParamFromStream, TPsStorageStmt.SaveFieldToStream
Fixed
- TPsState.Next & Prev when States not defined
- Events in control components to use the control itself as Sender (was VarLink)
- TPsVarLink.OnBadValue (and all controls that expose the event) to be called after Change, so that it can be used to overwrite other changes
- Some AVs still occurring at OPCProvider shutdown or client disconnects resolved with FastMM
- Plus a number of smaller issues
18.01.08