Re: Creating dynamic window

Alex Tweedly <[email protected]>
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
[email protected] wrote:
> I've been searching the net for this topic and the one
> thing that pops up is the addMethod routine.  It
> sounds like something I can use.  However, there is no
> information that I can find on how to use it to help
> me.
>
> Could somebody please help.
>
> When I create a button on the fly - with a name
> defined at run-time, how would I define a method for
> it?
>
>   
use the 'command' option in the button definition

I *think* that should do it, but I'm not in a position to try it out 
right now, so I'm afraid it's an untested suggestion.

-- Alex

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
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.