ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pythoncard
pythoncard
RE: [Pythoncard-users] Text Area - resend
by Kevin Altis other posts by this author
Dec 19 2002 4:33AM messages near this date
RE: [Pythoncard-users] Text Area | RE: [Pythoncard-users] Text Area
>  -----Original Message-----
>  From: Moors, Phil
> 
>  > That won't be used on Windows. When you say that text doesn't
>  > show up do you mean that the app window comes up fine, but then
>  you can't
>  > type text in the field or something else?
> 
>  The text is never (visibly?) written to the text area. I've altered the
>  block by adding a print statement:
> 
>       def on_Area51_mouseClick(self, event):
>           print "Here I am!"
>           self.components.Area51.text = "Hello."

Ah, I didn't pay close enough attention to the question you were asking. I
thought you meant the app wasn't running or the field wasn't showing up. The
TextArea component doesn't get mouseClick events, even if the field is not
editable. If it is getting mouseClick events on Linux then that is
platform-specific and doesn't make much sense to me.

On Windows, the sequence of events when you click the mouse in the field is:

mouseDown
gainFocus
mouseUp

with perhaps some mouseMove or mouseDrag events thrown in if you move the
mouse rather than just clicking.

You can see the events by using the Message Watcher, use a -m command-line
option when you start your application. You can also start the app with any
of the other runtime tool options other than logging (-l) and then you can
select Message Watcher from the Debug menu. If you are using the codeEditor
or resourceEditor, they have a Run Options... dialog under the File menu to
enable any of these options and then you use File-> Run or File->Run with
interpreter to launch your app using those options.

ka



-------------------------------------------------------
This SF.NET email is sponsored by: Order your Holiday Geek Presents Now!
Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap,
MP3 Players,  XBox Games,  Flying Saucers,  WebCams,  Smart Putty.
T H I N K G E E K . C O M       http://www.thinkgeek.com/sf/
_______________________________________________
Pythoncard-users mailing list
Pythoncard-users@[...].net
https://lists.sourceforge.net/lists/listinfo/pythoncard-users
Thread:
Moors, Phil
Kevin Altis
Moors, Phil
Kevin Altis
Kevin Altis

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved