C++CodeDelphi

Easily Create A Python Container Type In Delphi And Execute It In This Windows Sample App

Earlier we learned how to create a Python type using Delphi classes. How about creating a Python type with some containers or collections capabilities in Delphi and accessing its elements? Python4Delphi PyObject contains Type Services routines e.g Basic, Number, Sequence, Mapping which can be overridden with our custom Python Types Delphi classes. This post helps to do that.
Read more
C++CodeDelphi

Quickly Learn How To SubClass A Python Type Created In Delphi With This Windows Sample App

Earlier we have learned how to create a new Python Type using Delphi classes. How about inheriting Python Type created in Delphi using a simple python script? This post will guide you to do that using Python4Delphi Sample App. You can also use Python4Delphi with C++Builder. Python4DelphiDemo26 Sample App shows how to create a Module, Python type, Import the module, and Python Type in a…
Read more
C++CodeDelphi

Manage Your Collection Of Pages Easily With TCardPanel Component For Your Delphi VCL Application

We know TPanel Control has methods to help manage the placement of child controls embedded in the panel. You can also use panels to group controls together, similar to the way you can use a group box. How about having a collection of cards or pages which help to manage the child controls and display only one of them at a time similar to a TabControl? Yes, Delphi provides an excellent VCL…
Read more
C++CodeDelphiIDE

Quickly Log Python Script Output To The Delphi Debug Log In Your Windows Apps

Sometimes developers need to log the output messages in Delphi for debugging purposes. You might aware this can be achieved by the windows API OutputDebugStringA. How about direct your python output messages to the Delphi Events Log Window? Yes, Python4Delphi has a flexible component PythonInputOutput to redirect your python output to the Delphi Events Log window with less code. You can…
Read more