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_DataItemPopulate
The Const.PM_DataItemPopulate message is sent to all data items in a data source after the data source has been populated with values from the server.
Name | Description |
---|---|
wParam | Unused |
lParam | Unused |
Unused (the Framework ignores the return value of this message)
This example catches the Const.PM_DataItemPopulate message to update the window title.
On PM_DataItemPopulate Call SalSendClassMessage ( PM_DataItemPopulate, wParam, lParam ) Call SalSetWindowText( hWndForm, sCompanyWindowVariable || ' - ' || TranslateConstant(TEXT_NAV_Order) || ' - ' || SalNumberToHString ( EditDataItemValueGet ( ) ))private void cCheckBox_OnPM_DataItemPopulate(ref SalMessage message) { #region Actions message.Handled = true; this.Checked = SalString.FromHandle(this.EditDataItemValueGet()) == this.i_sCheckedValue; message.Return = Sal.SendClassMessage(Const.PM_DataItemPopulate, Sys.wParam, Sys.lParam); return; #endregion }