
Q: MS Flex Grid, user-entry fields?
This has got to be a simple question, so please forgive me . . .
I am attempting to use the MS Flex Grid control to display an
MxM matrix, into which the user can enter his values . . . and
when filled-in the user will press a button and the matrix will
be 'solved' for him (Gaussian Elimination).
Here's the question . . . What sacred incantation must I invoke
to allow the user to actually ENTER values into the cells????
I've got code that can pre-fill the cells (e.g. all zeros,
identity matrix, upper/lower triangular 'zeros', etc.), but
it's NOT allowing me to manually enter values into the cells.
I can click-on a cell, and it highlights it with a shaded border,
but doesn't change the background/foreground colors to the
colors I've specified for 'selected' . . . and when I type
nothing goes into the cells . . . the only way I've been able
to get info into the cells was to put code into the 'KeyPress'
event, and appending the keystrokes to the '.Text' property . . .
In the past I've used the MS Flex Grid to display text and iconic
data . . . programmatically . . . but never used it for user
entry (i.e. like an Excel spreadsheet) . . . certainly it is
possible to do so without having to code my own 'entry box'
behavior . . . right????
Thanx in advance.
PS
I'd appreciate direct e-mail reply in addition to posting to
the newsgroup . . . it's more timely that way . . . thanx.
--
James C. (Jim) Bach I am Saber of Borg.
Sr. Project Engineer Resistance is V/I!
Elect'l Simulation & Analysis Prepare to be simulated!
delphi Delco Electronics Systems ***ERROR "ALG_SINGULAR_JACOBIAN"***
Kokomo, IN, USA (765)-451-0455 Node/subsystem with no connection
http://www.*-*-*.com/ ~jcbach to the reference (collective).