Re: setting radiogroup items dynamically?

Alex Tweedly <[email protected]>
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
Alec Bennett wrote:
> I'm guessing this isn't possible in Pythoncard, since calling, for 
> example:
>
> self.components.myradiogroup.items = ['choice1', 'choice2']
>
> returns NotImplementedError.
>
> Is there some other way to set the radiogroup items dynamically?
>
Very embarrassingly, I can't try this out right now, but you might get 
it to work as

self.components.myradiogroup.SetItemLabel(1,'choice1')
self.components.myradiogroup.SetItemLabel(2,'choice2')
etc.


-- 

Alex Tweedly      mailto:[email protected]      www.tweedly.net

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
Pythoncard-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pythoncard-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.