|
|
 |
pythoncard
Re: [Pythoncard-users] Accessing/setting data from a notebook page to another
by Jussi Salmela other posts by this author
Nov 22 2006 4:43AM messages near this date
[Pythoncard-users] Accessing/setting data from a notebook page to another
|
[Pythoncard-users] Running PyhtonCard on SuSE 10.0
Francis Ducharme wrote:
>
> I'm using a Notebook widget and I am trying to access/set data from
> one page of the notebook to another
>
Hi!
I don't know if this is THE way to do it but it works:
print self.GetParent().GetPage(0).components.fnField.text
uses the text value of a component named fnField on the leftmost
tabsheet and
self.GetParent().GetPage(0).components.fnField.text = 'x.y'
sets it to a new value.
Cheers,
Jussi
--
Jussi Salmela
http://personal.inet.fi/cool/operator/
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Pythoncard-users mailing list
Pythoncard-users@[...].net
https://lists.sourceforge.net/lists/listinfo/pythoncard-users
Thread:
Francis Ducharme
Jussi Salmela
|
|
|
 |
|