nca_listview


Ancestor nonvisualobject

Hierarchy
nca_listview
nonvisualobject

Author Ken Howe

Library lvmemory.pbl

Description This autoinstantiate objects contains function related to Listview controls. Functions are provided to save, restore and extract a listviews columns widths so they may be saved and restored between sessions.

Usage Delcare the object and call the functions you require.

Model
nca_listview
None
ExtractColumns (as_Widths, ai_Widths[]) returns integer
LoadColumns (alv_lv, as_widths) returns (none)
SaveColumns (alv_lv) returns string

Functions

ExtractColumns

Description Extract the internal column width settings from the string created by the SaveColumns function and view and return them in an encoded string.
Return integer
The number of column widths extracted from the string.
Access public
Arguments
Argument DataType Description
as_Widths string encoded string to remove the settings from.
ai_Widths[] integer Reference variable to load the widths into.

Usage li_Widths = lnca_lv.ExtractColumns( as_Cols, li_Width )

LoadColumns

Description Load the columns widths create by the savecolumns function back into the listview.
Return (none)
Access public
Arguments
Argument DataType Description
alv_LV listview Listview to load the details into.
as_Widths string The encoded width string containing the column widths.

Usage lnca_LV.LoadColumns( lv_1, ls_Widths )

SaveColumns

Description Extract the internal column width settings from the list view and return them in an encoded string.
Return string
An encoded string containing the columns widths
Access public
Arguments
Argument DataType Description
alv_LV listview List view to extract details from.

Usage ls_ColWidths = lnca_lv.SaveColumns( lv_1 )
Events None

References
UsesUsed By
nca_listview
nca_listview


Document Generated: 4/8/00 10:15:47 Using PBDoc (http://www.pbdr.com)