Zum Hauptinhalt gehen

Suche

Suche

Usermessage Well Kept Secret?

Kommentare

1 Kommentar

  • Avatar
    Ian Cummings
    Moderator

    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

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.