On Feb 7, 2006, at 8:39 AM, Mark Cooke wrote:
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
Nothing at all. :-)
I think its common to sometimes name object parameters as MyWindow or
MyListbox because we cannot use the class names. So mWindow or
mListbox tends to fly off of the keyboard for me when thinking of names.
Jack
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>
_______________________________________________
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>