Solved

Reset List view small icon to nothing

Posted on 2004-10-07
6
304 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB6 Compile Compatibility Issue 4 128
using Access 8 91
Error with a code discussed on this page 5 48
VB6 Enviroment 3 33
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

732 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