Learn How to Find and Add ListView in Toolbox in VB 6.0 Tips

The ListView control is easy and advanced listing control to show data in multiple columns and rows. This contain many advance features like : Grid lines, Label Edit, View Type, Full Row Select, Hover Selection etc. Its provide fast scrolling process to data view. You can easily fill data from database or you can add data dynamically during run time on it.

Easily Show Files with Icons in ListView in VB6.0

So, following process describe the tips to find and Add ListVIew in ToolBox in VB6.0.

Find ADO Data Control (ADODC) and Add component in VB6.0

But, where to find and add ListView in Toolbox?

Step 1: Find and Add ListView Control in Visual Basic

To add this control or any external control, Just browse or choose ".ocx" for VB project and for further understand follow the steps:

Steps: Project (Menu) >> Components (Window) >> Controls (Tab) >> Chose Component


1.
First, find and go to "Project" menu and click on it.

2.
Find "Components" option from "Project" menu and click on it. "Components" window will appear. You can also press (Ctrl + T) from keyboard to open this window.

3.
This window contain 3 Tabs (Controls, Designers, Insertable Objects). Find "Microsoft Windows Common Control 6.0(SP6)" from "Controls" tab and check it.

4.
Then click on "OK" or "Apply" button.

Add Controls for add Listview in toolbox
Add Controls
After that, this component will add many controls' list to Toolbox.

Controls list of "MSWC Control 6.0(SP6)":
 Tabstrip vb6 skotechlearn
TabStrip
Toolbar vb6 skotechlearn
Toolbar
Statusbar vb6 skotechlearn
StatusBar
ProgressBar vb6 skotechlearn
 ProgressBar
TreeView vb6 skotechlearn
TreeView
ListView vb6 skotechlearn
ListView
ImageList vb6 skotechlearn
ImageList
Slider vb6 skotechlearn
Slider
Imagecombo vb6 skotechlearn
ImageCombo

Easy tips to adding Items in Listview

Step 2: Drag or Add control to Form in Visual Basic 6.0

For attach this control to Project’s Form click on this icon from ToolBox. And draw it to Form1 like bellow.
Drag or Add Listview in Form
Drag control in Form

You can use this control to display a list of data in the form of a table and also include icons at the side of list.

This control will show the collection of items or data that can be display in different views type through its related settings, such as LargeIcon, Details , SmallIcon, List and Tile.

You can add more than one Column header in Listview control.

Easily show ListView data in TextBox in Visual Basic6.0

Step 3: Add Column Header in Listview

For Add Column Header on Listview:

1.
Right click on this control and select "Properties" option and click on it.

2.
A "Property Pages" box will open. This box contain 7 Tabs (General, Image Lists, Sorting, Column Headers, Color, Font, Picture).

3.
Go to "Column Header" tab, and press "Insert Column" button.This will enable related settings (Like: Index, Text, Alignment, Width etc).

4.
Type header name in "Text" input box and again press "Insert Column" button for adding more header according to need.

5.
Adjust column width by giving range of width value "Width" controls. After completion of this control's settings, press "OK" button.

Simple Learning tips to Edit or Delete selected Listview Items

Steps:
ListView (Right Click) >> Properties >> Column Header (Tab)>> Insert Column (Click)
Column Header Setting In ListView control
Column Header Setting
Index: Describe the Header number
Text: Input of header name
Alignment: Set Alignment (Left, Center, Right)
Width: Increase or decrease width by giving width Value.
Key: Type header key value.
Tag: Tag header by giving value.
Icon Index: Define icon index number.

This way you can Add Listview control in VB6.0 form and Settings of Listview Properties in Visual Basic 6.0  and Also Find How to Add Column Header in Listview with SKOTechLearn.

Listview checked item transfer to another

2 comments:

  1. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work... Recommended Reading

    ReplyDelete