Cheers,

Cheers for that, I completely forgot about doing that..
It's defiantly better that what I ended writing :)

/me re writing the code (again!) :)

Out of curiosity, what does the m stand for? method?

Thanks

Mark

On 7 Feb 2006, at 15:52, CV wrote:

You can pass a reference to LBTransactions to the TransactionsWindow when you open it. For example in New or Edit:

dim w as new TransactionsWindow(self.LBTransactions)

Add a property to TransactonsWindow: mLB as listbox, and a method:

TransactionsWindow(LB as ListBox)
self.mLB = LB

Then after your validation in the SaveButton do:

dim s as string
s = DateField.Text + chr(9) + AmountField.Text + chr(9) + DescriptionComboBox.Text + chr(9) + ... // add the remaining
LB.addrow ""
LB.Cell(LB.LastIndex,-1) = s

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to