Paul,
Thanks for the tip.  This works very well.  The only mod I did was to cut
the interval to 100 vs 1000.

Larry Long 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Paul McNett
Sent: Friday, August 10, 2007 3:12 PM
To: Dabo Users list
Subject: Re: [dabo-users] SelectOnEntry

My thoughts on this issue (wanting to select all after a mouse-click) are:

+ It's a bad idea.
What if the user wants to use the mouse to select a region, to copy to the
clipboard? Would two clicks be required to initiate that?

+ The behavior is probably platform-specific.

+ Try issuing the following:

def onGotFocus_textbox(self, evt):
        print "gf"
        #evt.stop()
        dabo.ui.callAfterInterval(1000, evt.EventObject.selectAll)


--
pkm ~ http://paulmcnett.com


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to