RE: [IronPython] Error when using Options.FastEval

2005-10-04 Thread Martin Maly
Hi Szymon, Sorry for delayed response. The exact difference between the two modes is that FastEval does not generate IL to be executed. Instead, it walks the abstract syntax tree and evaluates the expressions directly. The reason you are seeing the error is that the name resolution for the expr

Re: [IronPython] Accessing Win Form Properties

2005-10-04 Thread Davy Mitchell
Thanks Martin - I was mixing up the instance name. Too busy looking at the output than my own code :-) Regards, Davy On 10/4/05, Martin Maly <[EMAIL PROTECTED]> wrote: > I suspect that the "Form" you are referencing is the > System.Windows.Forms.Form class. > Once you have instance, it should ju

[IronPython] Error when using Options.FastEval

2005-10-04 Thread Szymon Kobalczyk
Hi, Few days ago I wrote about a problem with Options.FastEval. I noticed today that accidentally it was posted as replay to some other topic and I'm not sure that anyone has seen it. So here it is again: --- Last time I wrote here I was concerned with memory consumption and performance of

RE: [IronPython] Accessing Win Form Properties

2005-10-04 Thread Martin Maly
I suspect that the "Form" you are referencing is the System.Windows.Forms.Form class. Once you have instance, it should just work: f = Form() f.Text = "Hi" print f.Text I hope this helps Martin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Davy Mitchel

[IronPython] Accessing Win Form Properties

2005-10-04 Thread Davy Mitchell
Hi Folks, Apologies if this is a FAQ but I couldn't find anything in the archives. I am writing a GUI Designer in IronPython. print Form.Text I am probably missing something simple but how do I get the actual text/value of the property. Thanks, Davy Mitchell http://www.latedecember.com