Hyderabad Jobs Book Website FREE PowerBuilder Training I Love Hyderabad Hyderabad Colleges
Home Business Emails Hyderabad Classifieds Contact Us
7 Wonders of Hyderabad Web Hosting Yellow Pages Our Network

 
Webpowerbuilder.hyderabad-colleges.com

Introduction to PowerBuilder

HomePrevious Lesson: DropDownPictureListBox
Next Lesson: TreeView

ListView

ListView and TreeView are Windows 95 controls. In simple terms, a ListView control has functionality similar to that of a PictureListBox. However, a ListView is more flexible and allows you to develop more user-friendly applications.

ListView (Large Icon view)

Recall that in a PictureListBox you can assign pictures to each item, where as in a ListView, each item can be associated with three pictures. One Large picture, one Small picture and one picture to indicate the state of the item.

Listview Properties dialogbox.

You can display a ListView in different presentation styles:
Large icon view
Small icon view
List view
Report View

If you select "Fixed Location" property, users can't move the items in the ListView control at run-time. Otherwise, users can drag and arrange the icons, to suit there needs.

You can allow the user to edit labels at run-time, by turning on "Edit Labels" property. You can also allow the user to delete items, by turning on "Delete Items" property. The label may overlap other labels if it is very large. It would be always better to check "Label Wrap" property.

It is a good idea to preview the window each time you enable/disable property for the ListView control. This way, you understand it better. When selected, you may not be able to see the affects of "Report View" style. You need to do some programming  to view, how a ListView control looks like in "Report View" style. So let us skip this part until we teach you about PowerScript.
HomePrevious Lesson: DropDownPictureListBox
Next Lesson: TreeView

Copyright © 1996 - 2006 HamaraShehar.com Pvt. Ltd. All Rights Reserved.
Domain Registration, Website Design, Website Hosting by HamaraShehar.com