Visual Parts Reference : Parts Reference : Packeting Container Details : Packeting Container Details general advice
Packeting Container Details general advice
The Packeting Container Details part is an extension to the container details part. It enables you to control how much information is fetched for displaying in the details view. For example, if you had a large database of names, you could fetch and display them in units of fifty. The first display would show the first fifty, the next fetch would retrieve and display the next fifty, and so on.
The Packeting Container Details part looks like the container details part with one exception: there is a status area at the bottom of the part and a push button. The status area displays a message indicating if there is more data available or if all the data has been retrieved. The push button is used for fetching more data.
Properties. All of the properties that are available in the container details part are inherited by the Packeting Container Details part. The Packeting Container Details part has the following new properties. Each of them pertain to the status area in the Packeting Container Details view:
statusLabelBackgroundColor -- for setting the background color of the status area.
statusLabelFontName -- for setting the font of the status message.
statusLabelForegroundColor -- for setting the foreground color of the status area.
statusLabelString -- for providing your own status message. There is a default status message which indicates when there is more data available, and when there is no more data to fetch.
If you use the Packeting Container Details part with a database, there are only a few settings you need to make on your query part(s) to take advantage of the packeting protocol. If your data is not in a database, you must implement a few methods on your part to get the packeting behavior. Using the part in these two scenarios, with a database and without a database, are described later.
Last modified date: 01/29/2015