Topics: Tree view, List view, Chart
      control, Grid controls
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).
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.
• Adding nodes to a tree view.
• Adding sub nodes to a tree view.
• Adding images to a tree view.
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
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.
• Adding items to a list view.
• Adding icons to list view items.
• Adding small icons to list view items.
Chart Control
•   Types of charts:
•   2D or 3D bar chart
•   2D or 3D line chart
•   2D pie chart
•   Etc….
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.
• Adding data to a chart control.
• Creating pie charts.
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
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.
Treeview listview

Treeview listview

  • 1.
    Topics: Tree view,List view, Chart control, Grid controls
  • 2.
    Tree View • Presentdata 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.
    Adding a treeview 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.
    • Adding nodesto a tree view. • Adding sub nodes to a tree view. • Adding images to a tree view.
  • 5.
    List View • Listof 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.
    Adding a listview 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.
    • Adding itemsto a list view. • Adding icons to list view items. • Adding small icons to list view items.
  • 8.
    Chart Control • Types of charts: • 2D or 3D bar chart • 2D or 3D line chart • 2D pie chart • Etc….
  • 9.
    Adding a chartto 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.
    • Adding datato a chart control. • Creating pie charts.
  • 11.
    Grid Controls • Displaysdata in a table-like form, with rows and columns of cells. • Types of grid controls:  Data grid control  Flex grid control
  • 12.
    Adding a flexgrid 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.