From: Brian D. <deb...@ho...> - 2005-01-06 13:39:53
|
Hi everyone, I would like some ideas about setting or controling the length of the text of a widget like a textfield. Maybe if I do something like this: def on_widgetName_keyPress(self, event): if len(self.components.widgetName.text) == 10: return else: event.pass I havent tried this yet, but this shows pretty much what I need to do. Another thing that I wonder is how to show the list of options of a combobox or make this visible all the time. Thanks in advance, Brian _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/ |