Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > PythonCard question

Reply
Thread Tools

PythonCard question

 
 
DarkBlue
Guest
Posts: n/a
 
      08-17-2006
Is it possible to create pythoncard textField components
dynamically during run time ?

Something on the lines of

pseudo code :

def make_textfield(length,topleftposx,topleftposy):
doit

self.make_textfield(120,20,20)


Thanks for any ideas.




 
Reply With Quote
 
 
 
 
thunderfoot@gmail.com
Guest
Posts: n/a
 
      08-17-2006

DarkBlue wrote:
> Is it possible to create pythoncard textField components
> dynamically during run time ?
>
> Something on the lines of
>
> pseudo code :
>
> def make_textfield(length,topleftposx,topleftposy):
> doit
>
> self.make_textfield(120,20,20)
>
>
> Thanks for any ideas.


The noresource.py sample that ships with PythonCard shows how to add
components at runtime.

HTH

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pythoncard question DarkBlue Python 2 05-04-2006 12:15 PM
ANN: PythonCard 0.7.2 Kevin Altis Python 0 09-17-2003 04:03 AM
GUI versions using PythonCard are available Ron Stephens Python 0 09-13-2003 01:36 AM
PythonCard newbie question Karl Lopes Python 1 07-13-2003 04:59 PM
Form using HTML on PythonCard Luiz Siqueira Neto Python 3 07-04-2003 10:25 PM



Advertisments