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.
SalNumber MethodInvestigateState( )
The MethodInvestigateState method updates the visible state of a commander.
This method does not return a value
The MethodInvestigateState method is called by the framework when a commander receives a request to update its state.
To update its state, a commander typically uses the MethodInquire method to check with its performer if the method is enabled, and then updates it's visible state accordingly.
The framework provides implementations of the MethodStateChanged method for all framework objects.
Function: MethodStateChanged Actions If MethodInquire( PM_DataSourcePopulate, 0 ) Call SalEnableWindow( hWndItem ) Else Call SalDisableWindow( hWndItem )private void rbCreateNewRFQHead_OnSAM_Click(ref SalMessage message) { #region Actions message.Handled = true; Sal.DisableWindow(this.tblRequestForQuotation); Sal.SendMsg(this.tblRequestForQuotation, Ifs.Fnd.ApplicationForms.Const.PM_DataSourceClear, Ifs.Fnd.ApplicationForms.Const.METHOD_Execute, 0); Sal.SetFocus(this.dfsBuyer); this.pbOk.MethodInvestigateState(); this.pbList.MethodInvestigateState(); #endregion }