Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.
Const.PM_DataItemValueSet
An application or the framework sends the Const.PM_DataItemValueSet message to a data item to set its value.
Name | Description |
---|---|
bSetEdited = wParam | Indicates if the data item should be set edited. A value of TRUE causes the edit flag to be set, a value of FALSE leaves the edit flag to its previous value. |
sValue = SalNumberToHString( lParam ) | String representing the new value to be set. The string may be a numeric or date value formatted with IFS Client Developer standard format for numeric and date values. |
Application should return TRUE if successfully processing this message, FALSE otherwise.
This example sets the value of dfName and marks dfName as edited
Call SalSendMsg( dfName, PM_DataItemValueSet, TRUE, SalHStringToNumber( sName ) )Sal.SendMsg( dfName, Const.PM_DataItemValueSet, 1, sText.ToHandle());