Página 1 de 1

ArrayBrowse ... appending rows problem ??

Publicado: Vie Feb 15, 2008 4:19 pm
por ChrisGillard
I am having problems adding rows to an ArrayBrowse where I have a get on
column 1 & want to put 'looked up' data into column 2.
Attached is a simple test program that allows you to enter something in
column 1 & should put seconds() into column 2.
I use Column1PostEdit event and ArrayBrowse:SetValue to put the seconds()
into column 2
The seconds() value always goes into column 2 but in the row above.
It appears ArrayBrowse:nRowSel is always 1 behind the current row.
Entering on row 1 works ok possibly because this is an edit to the iniatail
array row rather than an append.
Maybe when appending rows nRowSel will always be 1 behind ??
Any explanation, including my bad code, would be appreciated.
Regards
Chris Gillard


Attached files arraybrowse.zip (24.5 KB)Â