We use the Show method to make a form or window visible.
Use the Show method to make visible a control that was previously hidden.
The Show method sets the control’s Visible property to true and ensures that the parent control is also visible.
Here is the working example of the implementation of the Show method:
1 2 3 4 5 6 7 8 9 10 |
def main(): Application.Initialize() Application.Title = "MyDelphiApp" f = MainForm(Application) f.Show() FreeConsole() Application.Run() Application.Destroy() main() |
See the complete code here and here.
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.