Q: MS Flex Grid, user-entry fields? 
Author Message
 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).



Fri, 20 Jul 2001 03:00:00 GMT  
 Q: MS Flex Grid, user-entry fields?
The Flex grids are read-only (handy, eh?) and you must perform cell editing
by moving around a text box.  The is sample code to handle this in the Help
file under "Editing Cells in a Hierarchical FlexGrid Spreadsheet".

-Dave
Greenbrier & Russel, Inc.
dcarr<at>gr<dot>com

Quote:

>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://eit.delcoelect.com/~jcbach   to the reference (collective).




Fri, 20 Jul 2001 03:00:00 GMT  
 Q: MS Flex Grid, user-entry fields?

Quote:

> The Flex grids are read-only (handy, eh?) and you must perform cell editing
> by moving around a text box.  The is sample code to handle this in the Help
> file under "Editing Cells in a Hierarchical FlexGrid Spreadsheet".

> -Dave

Thanx for the info . . . will look that up . . . I was thinking about
the phantom 'entry box' idea . . . but I figured that was silly :-)

Thanx Mr Gates (et al) for making the Flex Grid a "90% useful" widget.

--
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://eit.delcoelect.com/~jcbach   to the reference (collective).



Sat, 21 Jul 2001 03:00:00 GMT  
 Q: MS Flex Grid, user-entry fields?
Well, you could upgrade, as the MS Flex Grid is just a stripped down
3rd party grid (Videosoft, I think).  It has in-cell editing and other
useful
features.  I've never used it... yet.

-Dave
Greenbrier & Russel, Inc.
dcarr<at>gr<dot>com

Quote:

>Thanx for the info . . . will look that up . . . I was thinking about
>the phantom 'entry box' idea . . . but I figured that was silly :-)

>Thanx Mr Gates (et al) for making the Flex Grid a "90% useful" widget.

>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://eit.delcoelect.com/~jcbach   to the reference (collective).




Sun, 22 Jul 2001 03:00:00 GMT  
 Q: MS Flex Grid, user-entry fields?
Or you could just fake an edit cell by using the KeyPress event, and
manually adding the characters to the selected cell.
Quote:

> Well, you could upgrade, as the MS Flex Grid is just a stripped down
> 3rd party grid (Videosoft, I think).  It has in-cell editing and other
> useful
> features.  I've never used it... yet.

> -Dave
> Greenbrier & Russel, Inc.
> dcarr<at>gr<dot>com


> >Thanx for the info . . . will look that up . . . I was thinking about
> >the phantom 'entry box' idea . . . but I figured that was silly :-)

> >Thanx Mr Gates (et al) for making the Flex Grid a "90% useful" widget.

> >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://eit.delcoelect.com/~jcbach   to the reference (collective).




Mon, 23 Jul 2001 03:00:00 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. data grids/ms flex grids

2. Grid (like MS Flex Grid) With a multi line select

3. Populating MS Flex Grid w/Data

4. MS Hierarchical Flex Grid

5. About MS Flex Grid - Tell me

6. MS Flex Grid Headers

7. Printing form containing MS Flex Grid

8. MS Flex Grid Easy Question (I Hope)

9. VB6 MS Flex Grid Copying to clipboard

10. File Loading/Saving File Forms and the MS Flex Grid

11. MS Flex Grid Click problems

12. MS Flex grid

 

 
Powered by phpBB® Forum Software