Link to home
Start Free TrialLog in
Avatar of JOSHUABT
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
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

do you mean LISTBOX or LISTVIEW ?
how exactly do you mean "truncated"?
Avatar of List244
List244

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.
Avatar of JOSHUABT

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 "OneOfMyListItemInListViewControl".
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
Avatar of hiteshgupta1
hiteshgupta1

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial