Function DMsgBox(sPrompt As String, [ByVal sButtons As VbMsgBoxStyle], [sCaption As String]) As VbMsgBoxResult
Same thing as the default VB/VBS MsgBox() function if debug messages are enabled; otherwise ignored.
Debug messages must be enabled through the client. Configuration -> General -> Debugging Features tab -> enable "Enable Debug Message Functions"
Example
- VB.NET
Sub Scan(ScanData) Shipment.E("/SHIPMENT/COMMON/SHIPPER_REFERENCE") = ScanData DMsgBox "Congratulations you have successfully executed 1 line of code!" System.RefreshScreen Shipment.Load End Sub
- C#
public void Scan(object ScanData) { Shipment.E("/SHIPMENT/COMMON/SHIPPER_REFERENCE") = ScanData; DMsgBox("Congratulations you have successfully executed 1 line of code!"); System.RefreshScreen(); Shipment.Load(); }
Comments
0 comments
Article is closed for comments.