In this post, we’ll use the EndInvoke property or DelphiVCL.Application.EndInvoke to block the caller until the specified ASyncResult completes. Learning how to do it will allow you to easily create GUIs with Python Windows GUI Builder.
Returns the result from the method that BeginInvoke asynchronously executes. This result is immediately returned after the given IAsyncResult finishes.
EndInvoke raises any exception that may occur while the asynchronous method executes.
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.EndInvoke using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.Application.EndInvoke) |
See the responses in our Windows command prompt:
You can also read short information about the DelphiVCL.Application.EndInvoke using the print() command:
1 2 |
print(DelphiVCL.Application.EndInvoke) print(DelphiVCL.Application.EndInvoke.__doc__) |
See the responses in our Windows command prompt:
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.