On Nov 3, 2006, at 11:48 PM, Matthew Williamson wrote:

I'd like to use an editField mask so the user can enter a 10 digit phone
number, and have the formatting done automatically, like so:

(###) ###-####

You could add the following lines to the GotFocus event of the EditField:

  If me.Text="" Then
    me.Text="("
    me.SelStart=me.Text.Len
  End If

That should do the trick.

Terry

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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to