Solved

Reset List view small icon to nothing

Posted on 2004-10-07
6
282 Views
Last Modified: 2010-05-02
Hello,
I;ve got a list view showing data. It can be that there is no data in the table, then im showing an icon with when this is the case, but when there is data in the tables, i dont want to show the icon and want to get rid of the 'smallicon' cause it leaves a empty gap.

How can i reset the smallicon to no imagelist ??

Ive tried set listview.smallicon = nothing, but still leaves the gap

any ideaS?

thanks
0
Comment
Question by:arcross
  • 4
  • 2
6 Comments
 
LVL 19

Expert Comment

by:Shauli
ID: 12249821
The small icon works together with the view option. It will always leave a gap for the icon, even if you don't have any icon added to a specific row. The only time it will close this gap, is when you don't have an imagelist associated with the listview at all.

S
0
 
LVL 8

Author Comment

by:arcross
ID: 12249939
Hi shauli it that what i meant, is it possible associate and disassociate the image list from the listview?
0
 
LVL 19

Expert Comment

by:Shauli
ID: 12249963
No. As it is associated with the view as well. If you disassociate, then all icons will be removed.

S
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 19

Accepted Solution

by:
Shauli earned 125 total points
ID: 12249976
My suggestion to you is to have to different icons, very dissimilar, for your two options.

S
0
 
LVL 8

Author Comment

by:arcross
ID: 12250123
Thanks Shauli, Ill leave with the gap, as i dont need an icon for the second.

Thanks very much 4 your help!

Álvaro
0
 
LVL 19

Expert Comment

by:Shauli
ID: 12250144
You are welcome :)

S
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now