跳至主內容

搜尋

搜尋

Usermessage Well Kept Secret?

評論

1 條評論

  • Avatar
    Ian Cummings
    版主

    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

登入寫評論。