ProfilePrivateUserWrite

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.

SalBoolean ProfilePrivateUserWrite(  )

The framework calls the ProfilePrivateUserWrite method when a window is being destroyed to allow applications to write application specific profile information.

Returns

The return value should be true if the profile information is successfully written, false otherwise.

Example

\\Virtual wrapper replacement for late-bound (..) calls
public override SalBoolean vrtProfilePrivateUserWrite() { return this.ProfilePrivateUserWrite(); }
public new SalBoolean ProfilePrivateUserWrite() { #region Local Variables SalString sValue = ""; #endregion #region Actions using (new SalContext(this)) { if (colsDelivery.Text == "TRUE") { sValue = "Delivery"; } else if (colsInvoice.Text == "TRUE") { sValue = "Invoice"; } Ifs.Fnd.ApplicationForms.Var.Profile.ValueStringGet(ProfileSectionGet(),
"LastAddress", "Delivery", ref sValue); } return false; #endregion }