JOSHUABT
asked on
Listbox control truncate the listitem in VB6
Hi there,
I am using Listbox control in VB6.
My problemis when it displays list item, each item is truncated.
Is there any setting that I can change to fully display each item line?
Thanks
I am using Listbox control in VB6.
My problemis when it displays list item, each item is truncated.
Is there any setting that I can change to fully display each item line?
Thanks
Joshuabt, when a listbox item is too long for the listbox, there is not really much you can do. You can allow for resizing,
but even that will not guarantee that it fits. I would say it is more your job to be sure it fits. Perhaps using another control
would be better? Or perhaps you could cut down what is shown in the list box to something you know fits with a ... at the
end. Then you could upon click have another control which has scrolling and such options, such as a textbox, take that value
for showing in complete.
but even that will not guarantee that it fits. I would say it is more your job to be sure it fits. Perhaps using another control
would be better? Or perhaps you could cut down what is shown in the list box to something you know fits with a ... at the
end. Then you could upon click have another control which has scrolling and such options, such as a textbox, take that value
for showing in complete.
ASKER
Sorry, it's my mistake.
It is ListView control and not ListBox Control.
When I add ListItems to ListView control, some items' text property is truncated and doesn't show the full text.
Let's say the ListItem is "OneOfMyListItemInListView Control".
And it appeasr as "OneOfMyList..." instead of the full text.
I need to make sure all LIstItems show the full text.
How can I do that?
Thanks
It is ListView control and not ListBox Control.
When I add ListItems to ListView control, some items' text property is truncated and doesn't show the full text.
Let's say the ListItem is "OneOfMyListItemInListView
And it appeasr as "OneOfMyList..." instead of the full text.
I need to make sure all LIstItems show the full text.
How can I do that?
Thanks
do u have a single column in the listview or multiple columns??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
how exactly do you mean "truncated"?