Treeview listview

1,295
-1

Published on

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,295
On Slideshare
0
From Embeds
0
Number of Embeds
13
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Treeview listview

  1. 1. Topics: Tree view, List view, Chart control, Grid controls
  2. 2. Tree View• Present data in a hierarchical way.• Example: View of directories that appears in the tree view at left in the window explorer.• Node consist of an image(set with the image property) and a label(set with the text property).
  3. 3. Adding a tree view to a form• Select the project | components menu items.• Click the controls tab in the components dialog box that opens.• Select the windows common controls item.• Click on OK to close the components dialog box.• The preceding steps add the tree view control toll to the toolbox. Draw a tree view in the form as you want it.• Set the tree view properties, and add the code you want.
  4. 4. • Adding nodes to a tree view.• Adding sub nodes to a tree view.• Adding images to a tree view.
  5. 5. List View• List of items.• Example: List view at right in the windows explorer.• List view can display data in four different view modes: Icon mode Small Icon mode List mode Report mode
  6. 6. Adding a list view to a form• Select the project | components menu items.• Click the controls tab in the components dialog box that opens.• Select the windows common controls item.• Click on OK to close the components dialog box.• The preceding steps add the list view control toll to the toolbox. Draw a list view in the form as you want it.• Set the list view properties, and add the code you want.
  7. 7. • Adding items to a list view.• Adding icons to list view items.• Adding small icons to list view items.
  8. 8. Chart Control• Types of charts:• 2D or 3D bar chart• 2D or 3D line chart• 2D pie chart• Etc….
  9. 9. Adding a chart to a form• Select the project | components menu items.• Click the controls tab in the components dialog box that opens.• Select the Microsoft chart control entry.• Click on OK to close the components dialog box.• Draw a new chart control on your form.• Add the code you want.
  10. 10. • Adding data to a chart control.• Creating pie charts.
  11. 11. Grid Controls• Displays data in a table-like form, with rows and columns of cells.• Types of grid controls: Data grid control Flex grid control
  12. 12. Adding a flex grid control to a form• Select the project | components menu items.• Click the controls tab in the components dialog box that opens.• Select the Microsoft flex grid control entry.• Click on OK to close the components dialog box.• Add a flex grid control to your from in the usual way for visual basic controls.• Set the flex grid’s rows and cols properties to the number of rows and columns you want in your flex grid.
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×