realbasic-nug
[Top] [All Lists]

Re: Changing an editfield's mouse behaviour.

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Changing an editfield's mouse behaviour.
From: Tom Benson <tombenson at mac dot com>
Date: Fri, 1 Feb 2008 07:30:56 +1100
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <0D492921-035C-43FF-BF09-A9D8192A410B at shaw dot ca>
SelChange Event???

Me.SelLen = Len(me.txt)

- Tom


On 01/02/2008, at 2:49 AM, Terry Ford wrote:

> I am having a bit of difficulty in my attempt to over-ride the
> standard mouse behaviour in an editfield.
>
> I currently have four editfields that can contain from one to three
> characters. I have it set so that when the field is either tabbed
> into or clicked on, any previous entry is selected. I do this in the
> gotfocus event.
>
> Is there any way to override the second click to prevent the
> insertion bar appearing with a sellength of 0?
>
> TIA,
>
> Terry
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>