Re: Is it possible to create a multiline cell/fiel d in a listbox?
|
Ronald Moraiah |
|
5/5/2008 3:49:05 AM |
I don't believe so, because Multiline is a design time only property so it can't be set at runtime. Otherwise you could just use ListBox.ActiveCell to change the property. Post Comments |
|
Re: Is this a new property ?
|
Mable Henning |
|
5/5/2008 3:52:06 AM |
Is this a new property ? I've always used the CellTag and CellBackgroundPaint for this Post Comments |
|
Re: Naw, it's been around for a long time
|
Ronald Moraiah |
|
5/5/2008 3:55:14 AM |
Naw, it's been around for a long time. It returns to you the EditField we use when you' re editing a cell so that you can manipulate the field. Post Comments |
|
Re: How and when do you use it ?
|
Mable Henning |
|
5/5/2008 3:56:11 AM |
How and when do you use it ?
When I enter the Open Event of the listbox and type me.M I only get Mouse... Post Comments |
|
Re: You cannot set the Multiline property on it
|
Ronald Moraiah |
|
5/5/2008 3:58:03 AM |
You cannot set the Multiline property on it (it's a design-time only property of EditFields). But you'd use it for things like:
Code: Sub ListBox1.Open() me.AddRow( "Ha ha ha" )
me.EditCell( 0, 0 )
me.ActiveCell.SelStart = 3 me.ActiveCell.SelLength = 2 End Sub
Post Comments |
|
ok I'm lost, I have no clue what that code has to do with multiline in a cell of a listbox , but you know what don't worry about it, my method works and I understand it Post Comments |
|
Re: Is it possible to create a multiline cell/fiel d in a listbox?
|
Manvaalo Jinochi |
|
5/5/2008 3:49:34 AM |
There is a feature request for something like this. You could add your vote to it. uwjyf zqi Post Comments |
|
Re: Is it possible to create a multiline cell/fiel d in a listbox?
|
Mable Henning |
|
5/5/2008 3:59:52 AM |
What happens when the user wants to organize it alphabetically ? Post Comments |
|