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