hmmm - im having second thoughts on the interface now (which i have been known to have) Maybe I didn't look far enough into the future - dont know - but would like to make the listview sort of the "center piece object" of the forms library ... down the road - have plans to implement a super listview called listgrid (something like that) that will have real cells where one can navigate around and edit them and enter data - same as excel ... plus - i would like to upgrade the LISTBOX and COMBOBOX to support these new grid methods. Scratching my head now ... maybe an interface like this would "read" better ?

Conceptualized code here:

code:
;
; KIXTART 4.12
; KIXFORMS 2.1.0
;

break on

$form = createobject("kixtart.form")
$form.fontname = Verdana
$form.fontsize = 8
$form.clientsize = 640,480

$list = $form.listview
$list.bounds = 10,10,500,200

; Add some columns ...

$list.columns.count = 3
$list.columns.text = "Name","Address","Phone"

; Add some rows ...

$list.rows.count = 4

; Load some data ...

$list.rows(0).text = "John Doe 1", "1 Maple Street", "123-456-7890"
$list.rows(1).text = "John Doe 2", "2 Maple Street", "123-456-7890"
$list.rows(2).text = "John Doe 3", "3 Maple Street", "123-456-7890"
$list.rows(3).text = "John Doe 4", "4 Maple Street", "123-456-7890"

; Select all the rows ...

for each $row in $list.rows
$row.selected = true
next

$form.center
$form.show

while $form.visible
$=execute($form.doevents)
loop

exit 1

Its no problem to change the interface - just want to decide early (like now).

[ 09. October 2002, 19:23: Message edited by: Shawn ]