In the PB by inserting the Microsoft OLE toolbar control 6.0 sp6, this code executes in the buttonclick toolbar control 2 times, I don't know what reason be?
Source: after download pictures, change the suffix for zip can
https://img.codepudding.com/202010/146752140926312.png
CodePudding user response:
Look at the source, itself has no problems, estimation is controls and pb compatibility problem, if you want to use, suggest to write their own code block the problem of the second callSuch as increasing the instance variables ib_once=true, in a click
If ib_once then
.
End the if
Then call a post event ib_once assignment to true