Aller au contenu principal

Recherche

Recherche

Usermessage Well Kept Secret?

Commentaires

1 commentaire

  • Avatar
    Ian Cummings
    Modérateur

    This allows you to raise a user defined application message, which can in turn be logged to the BarTender System Database, or handled in exception handling code.  The syntax to call this function is like the below example:

     

    Call UserMessage(btMsgSeverityWarning, "Ooops you did something silly, but never mind it's not too bad.")

     

    In my test this gave me a #9902 application message.

     

    There are three levels of message severity as below:

     

    btMsgSeverityError 
    btMsgSeverityInformation 
    btMsgSeverityWarning
    0

Vous devez vous connecter pour laisser un commentaire.