Sub AddTransaction(ATransaction As TTransaction)
Transactions.Insertat(0,ATransaction)
'resize our inner panel
pnlTransaction.Panel.Width=(Transactions.Size)*pnlOrder.Width
pnlTransaction.Panel.AddView(ATransaction.APanel,pnlOrder.Width*(Transactions.Size-1),0,pnlOrder.Width,pnlOrder.Height)'-Globals.RowHeight)
ATransaction.APanel.Visible=True
'scroll our panel all the way right
pnlTransaction.FullScroll(True) 'put a break here and step then it works
DoEvents '??? still doesn't work
End Sub