[Lazarus] Python4Delphi/Lazarus: VarPyth: VarDataClear.. not yet supported?

Eugen Bolz info at eugen-bolz.de
Mon Jun 1 04:34:18 CEST 2009


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




More information about the Lazarus mailing list