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.

Best Regards,
Eugen

_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to