Subject pF, nF, uF ...
Author Tobias Giesen
Hi,

here are some more details. I think going for uF as double precision has
several advantages:

- good for sorting
- very easy to convert into pF,nF,uF
- whereever the conversion isn't implemented yet, it'll just
display a uF value which usually makes some sense too

I'm using this in a very similar way. Issues I have not dealt with because I
didn't need to were these: a) how a reporting tool handles just-in-time
conversions b) how incremental search etc. can be made to work with it.
Maybe it does, I don't know. If it doesn't we could work on this together.

You'll need these events (IBO 3.6Cb or better). Let me know if you're using
any other components with this, I can add the events whereever they're
missing.

TIB_Edit
--------
OnGetDisplayText
OnGetEditText (can be the same handler)
OnSetEditText (conversion back to uF)
OnIsValidChar (to allow letters such as pnuF)

TIB_Grid
--------
OnGetDisplayText
OnGetEditText (can be the same handler)
OnSetColumnText (conversion back to uF)
OnIsValidChar (to allow letters such as pnuF)

TIB_LookupCombo
---------------
OnGetDisplayText

Cheers,
Tobias