[IronPython] Accessing Win Form Properties

Davy Mitchell daftspaniel at gmail.com
Tue Oct 4 21:47:51 CEST 2005


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 <Martin.Maly at microsoft.com> wrote:
> 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: users-ironpython.com-bounces at lists.ironpython.com
> [mailto:users-ironpython.com-bounces at lists.ironpython.com] On Behalf Of
> Davy Mitchell
> Sent: Tuesday, October 04, 2005 11:31 AM
> To: users-ironpython.com at lists.ironpython.com
> Subject: [IronPython] Accessing Win Form Properties
>
> 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
>  <property# Text on Form>
>
> 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
> _______________________________________________
> users-ironpython.com mailing list
> users-ironpython.com at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>


--

Davy Mitchell

http://www.latedecember.com



More information about the Ironpython-users mailing list