[Lazarus] The default Lazarus profile directory location
Graeme Geldenhuys
graemeg.lists at gmail.com
Wed Jun 3 12:31:04 CEST 2009
Eugen Bolz wrote:
> I'm happy that also others try to work with p4d, not only me.
>
> With this i can add a Delphi-Variable/Class to Python:
> MyPyForm := PyFormType.CreateInstance;
> (PythonToDelphi(MyPyForm) as TPyForm).Control:= Self;
> PyClassMod.SetVar('MainForm', MyPyForm);
> But when I wanted to change the Caption I got Access Violation so now
> these Patch fixing it?
>
> And how to create Forms within PythonCode and use them also in Python?
>
> PS: Could u add the patches to this Bug-Report I made?
> http://code.google.com/p/python4delphi/issues/detail?id=2
>
> I already have added 2 patches, but I think there not that right.
>
Did not so far try these WrapDelphi... things. Just the Python Module
definition, and some simple callback mechanism so far. Maybe later.
Robert
More information about the Lazarus
mailing list