Re: Control Arrays in Python?
Andrew Todd <[email protected]> Wed, 28 Nov 2007 19:55:23 +1100
| Newsgroups | gmane.comp.python.pythoncard |
|---|---|
| Organization | Dexter Pinion Appreciation Society |
| Message-ID | <[email protected]> |
Rachid Manseur wrote: > Hello, > > I am planning to convert software from VB6 to Python (PythonCard) and I > am a new learner of python. Is there a way to create a GUI dynamically > depending on user input? For example if a user enters the number 5 in > an initial GUI, a second GUI is generated that has 5 lines of buttons, > textfields, etc. In VB6, arrays of controls offered a possibility. How > about python? > > My objective is to offer a data entry table and check boxes for the > user. The dimensions of the table and the number of buttons depend on > the user's needs. The multiColumnList component sounds like a > possibility. Where can I find details on how to use it efficiently? > > Thanks for any help. > > Rachid Manseur > > [email protected] <mailto:[email protected]> > Take a look at the dbBrowser sample. All of the widgets in it are created dynamically. Regards, Andy -- From the desk of Andrew J Todd esq - http://www.halfcooked.com/ ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4