Ok, I have the saving of a person's last row in a table working... with one
unwanted side effect: you see the table scrolling down and
highlighting.  What is preferred is the row position and selection 
is already in place when the form is displayed.

My steps:

FrmGotoForm
(load records)
FrmDrawForm
ListViewScroll (down, savedScrollOffset)
TblSelectItem ( tableP, savedLastRow, 0)

I tried to FrmInitForm, do the manipulation, then FrmDrawForm
but that didn't work.

Any ideas on preventing the side effect?

Steve


On Thu, 16 Mar 2000 11:17:16 -0600, Palm Developer Forum wrote:

  Keep track of how far down the user has scrolled.
  When saving the data, save the
  selected row # (11) + scroll amount (3) = 14
  
  [EMAIL PROTECTED] wrote:
  > 
  > I am trying to save which row is selected in a table so when the
  > user returns, the same record is selected.  My delimma is illustrated
  > in this example:
  > 
  > Table displays 11 rows.
  > User has currently scrolled down and selected record 14.
  > Since rows are relative to the top of the screen, he's really
  > still on row 11.
  > I save row 11.
  > User leaves and reenters program.
  > I select row 11, which now displays record 11, not 14.
  > 
  > Does anyone know of a way around this?
  > 
  > Thanks.
  > 
  > Steve





_______________________________________________________
Get 100% FREE Internet Access powered by Excite
Visit http://freelane.excite.com/freeisp


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to