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 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 Mitchell > Sent: Tuesday, October 04, 2005 11:31 AM > To: users-ironpython.com@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@lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -- Davy Mitchell http://www.latedecember.com _______________________________________________ users-ironpython.com mailing list users-ironpython.com@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com