On Aug 9, 2007, at 4:03 PM, <[EMAIL PROTECTED]>  
<[EMAIL PROTECTED]> wrote:

> I am trying to ensure that the text in a box is selected upon entry  
> and it
> works fine when tabbed into.  However, when I click on the field,  
> the entry
> does not highlight.  I stepped thru the code by binding to the  
> gotfocus and
> tracked the SelectionLength property thru the watch window.  I  
> found that
> initially, the text is highlighted, but when the code hits the
> "self.raiseEvent(dEvents.GotFocus, evt)" line noted below the
> SelectionLength goes to 0.

        Does the behavior change if you add: evt.stop()
to your GotFocus() handler?


-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
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