realbasic-nug
[Top] [All Lists]

Re: Listbox Mask

To: "REALbasic NUG" <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Listbox Mask
From: "Maarten de Vries" <maarten dot de dot zoveelste at gmail dot com>
Date: Sun, 30 Apr 2006 16:29:23 +0200
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=jpkD1lpttUYe1P/c0vqjEYG3t0cYlTUPNlF/2wZyYVOI4AdoLoX3jl/lTgyDVfKonjcpTdNtj7mPNgTiiVSyKk5sRFGkLY3G7OrYJDn0AIS/eVV7Q5rCGm+XI4KZXUMzi3ACPFwa0VQQl++0wEGAlE7ypVcqfz9ExqS4M/Lc1vs=
References: <CC1A4C27-F1D1-4731-9FF9-4668AF9A984F at sbcglobal dot net> <6D5F0CF3-7960-4462-9C6C-8C50376043D0 at gmx dot de>
yep, ActiveCell returns an EditField, so this should work:
MyListBox.ActiveCell.Mask="###"

On 30/04/06, Marcel <p dot marcel dot list at gmx dot de> wrote:

Hello!

In the CellGotFocus() event you can modify the EditField which is
used for editing cell content.
In my case I did something with the text size and selected the text...

  me.ActiveCell.TextSize = 12
  me.ActiveCell.Bold = false
  me.ActiveCell.SelectAll()

Maybe you can just avtivate the Mask property of the ActiveCell the
same way? I think so.

Best,
Marcel

On 30.04.2006, at 09:20, Wade Little wrote:

> Is it possible to set a column in a listbox with mask?   I have a
> listbox that I have set the 2nd column to editable and would like
> to have it have a mask so that when it is doubleclicked to edit it
> a mask property is used.
>
> Can this be done...if so how??
>
> Thanks a ton!!
>
> Wade

_______________________________________________
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>

_______________________________________________
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>


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