ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pythoncard
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved