Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8556

Re: How to validate form on form close ?

$
0
0

Hi Vikas,

 

This is a standard message from B1. If you really need to "overwrite" this message you can capture the StatusBarEvent event and write to the status bar there (this will require some sort of error message container which you can access on that event).

 

        private void GlobalOnStatusBarEvent(string text, BoStatusBarMessageType messageType)        {            if (text.Contains("(UI_API -7780)") && Globals.ErrMsg !="")            {                application.StatusBar.SetSystemMessage(Globals.ErrMsg, BoMessageTime.bmt_Short ,Globals.ErrMsgType);                Globals.ResetErrMsg();            }        }

Best regards,

Pedro Magueija


View Pedro Magueija's profile on LinkedIn


Viewing all articles
Browse latest Browse all 8556

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>