Home > database >  Custom function of Messagebox () function fails suddenly, without any response
Custom function of Messagebox () function fails suddenly, without any response

Time:10-03

I have a custom function in PB7.0, in function calls a Messagebox (" prompt ", "confirm delete?" That question! Yesno! , 2)
Function prompts the user to confirm whether or not to perform an operation, can be before, suddenly is not normal recently, but more is:

I'm going to run in tracking state, everything is normal, or, I in a Messagebox (" prompt ", "confirm delete?" That question! Yesno! , 2) before this line,
Add a line Messagebox (" ", ""), and then everything is ok, for several days I do not know why? Which potential energy to give directions are there?

I just recently in another window of irrelevant calls the Windows API, displays a string in a transparent background, other nothing changed,

CodePudding user response:

PB is sometimes so baffled!

CodePudding user response:

Upstairs positive solutions,...

CodePudding user response:

I'm going to run in tracking state, everything is normal, or, I in a Messagebox (" prompt ", "confirm delete?" That question! Yesno! , 2) before this line,
Add a line Messagebox (" ", ""), and then everything is ok, for several days I do not know why? Which potential energy to give directions are there?
=============================================================================
Your MESSAGEBOX () is to separate two line? With the connection symbol & amp; ? If this is the four parameters of comma between, if there is space
Words, he would sometimes error! Examine the spacebar, if not, I have the feeling,

CodePudding user response:

Restart the computer to restart the pb

CodePudding user response:

Backup, and then compile it again again

CodePudding user response:

To compile all

CodePudding user response:

Try
/* statementBlock */
The catch (RuntimeError RuntimeError1)
/* statementBlock */
End the try
  • Related