how to increase character limit for visual basic alert boxes
I have the following code:
If Not strValidate ="" Then
alert("The following information is required:" + vbLf + strValidate)
ValidateDocument = False
Exit F开发者_如何学JAVAunction
End If
The variable "strValidate" contains a long number of characters, so when the alert box shows, it doesn't show the whole string, the remaining characters are cut off on the alert box.
I would suggest to write your own Messagebox with a Scrollable Label/Textbox. There are already many custom messageboxes on the internet, so you can pick one and customize them.
精彩评论