Default cell widths?
Derek Atkins
warlord@MIT.EDU
03 Dec 2001 23:12:42 -0500
Dave Peticolas <dave@krondo.com> writes:
> > I can't seem to save an entry and create a new row. Or, at
> > least, I don't have the logic done yet... I'll try to check
> > my logic again today.
>
> Ok, the split register does this by maintaining a 'blank split'
> and setting the blank split pointer to NULL when the split is
> saved. Then, when the register is refreshed, it notices there
> is no blank split and adds another one. However, the split
> register depends on the component manager to invoke a refresh,
> so you may just need to refresh it manually. I will work on
> generalizing the component manager to the new dynamic
> ID types.
>
> dave
I'm maintaining a 'blank entry', and I can even get the thing to store
the entry (at least it looks like it's doing that). The problem is
that when I traverse off the end of the line it _does_ create a new
entry, but it's not putting me in the new entry. I can click on the
new entry and it will work fine, until I get to the end of that one
and the same thing will happen (a third 'new' entry will be created
but I'll remain in the second one).
I should mention now (before you do when you look at it) that my
Amount cell 'fractions' are not set properly. I saw some code to fix
this, but there is a deeper problem in that Orders, Entries, and
Invoices currently don't contain commodities at all anyways. This is
going to need to get fixed; I'm not sure the right approach; if an
invoice == 1 transaction, doesn't that imply that the Invoice needs
one currency for all Entries? A problem for another day...
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available