KKF
2004-01-16 09:05:23 UTC
I need to create my own component - kinda data grid and I have to do it on
my own due to some specific functionality that I surely won't find at
Torry's.
I tried to embed ComboBox in StringGrid cell but it doesn't look satisfying,
the combo likes to "jump-out" of its cell into another when scrolling the
grid.
I'd best build it based on TStringGrid and use class TInplaceEdit - just
alike in TDBGrid. The problem is that I don'k know how. I analysed code of
some free components and it was there, but unfortunately I couldn't
understand it.
I cannot modify TDBGrid because it's too much data-aware and I need
something much more autonomic and transactional in terms of if I modify, add
or delete something, appropriate SQL code will be generated.
If anybody of you folks has something like this and doesn't mind sharing
(and briefly explaining) it, I'll be grateful.
I attach my favorite unit - by Alexander Halser. Dropdowns work pretty nice
there. Maybe anybody would like to tell me what's going on there.
Best regards,
Kris
my own due to some specific functionality that I surely won't find at
Torry's.
I tried to embed ComboBox in StringGrid cell but it doesn't look satisfying,
the combo likes to "jump-out" of its cell into another when scrolling the
grid.
I'd best build it based on TStringGrid and use class TInplaceEdit - just
alike in TDBGrid. The problem is that I don'k know how. I analysed code of
some free components and it was there, but unfortunately I couldn't
understand it.
I cannot modify TDBGrid because it's too much data-aware and I need
something much more autonomic and transactional in terms of if I modify, add
or delete something, appropriate SQL code will be generated.
If anybody of you folks has something like this and doesn't mind sharing
(and briefly explaining) it, I'll be grateful.
I attach my favorite unit - by Alexander Halser. Dropdowns work pretty nice
there. Maybe anybody would like to tell me what's going on there.
Best regards,
Kris