Solved

about the "picture" in a control

Posted on 1998-07-07
3
192 Views
Last Modified: 2010-05-03
In VB5CCE, the trial version.
When open the property page of a ListView there is a "picture" tab (I also found it in other controls). Can you tell me what is it for and how to use it. (No help for it in the version)
0
Comment
Question by:learn
3 Comments
 

Author Comment

by:learn
ID: 1465146
Edited text of question
0
 

Accepted Solution

by:
willmrk earned 50 total points
ID: 1465147
When you click on the Picture Tab, MouseIcon is probably your only settable property (in the listbox on the left of the tab). If you select browse and find a icon file for example, the icon will show in the box on the left (named Preview). If you then go back to the properties list for the ListView control and set the MousePointer property to 99-ccCustom then when your code runs whenever the mouse passes directly over the ListView the mouse pointer will change to the Icon you specified under the Picture Tab.
So basically it is another a way to specify a different mouse pointer when the pointer passes over that object. The same thing can be accomplished by setting the MouseIcon properties and MousePointer properties in the properties list.
0
 
LVL 39

Expert Comment

by:abel
ID: 1465148
I hit "answer" a few seconds after you, willmrk. I'll post it as a comment...(but it's quite the same as yours):

The picture tab of the ListView control can only be used to set an ICO-file as mousecursor. It's the same as setting a mousecursor for a form and the like.
Don't worry about the Help-button. In the official release you will see it disabled on the picture-tab as well. You should use the (standard) help of VB for info about setting a picture for the mousecursor.

Hope this helps you out.

Regards, Abel
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

679 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