Re: MSHFlexgrid scrollbars and textbox

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Bob (anonymous_at_discussions.microsoft.com.invalid)
Date: 08/17/04


Date: Tue, 17 Aug 2004 13:13:46 -0700

Hi Ken:

Thanks for your help. I will look at the class you recommended. Now
regarding the VSFlexgrid, I have to say, the grid is very nice, except its
editing capabilities and events are restricted for my use. One example is
that I need to detect the mousedown and click event in the editbox. The
control does not allow it. Another one had to do with the Validate event of
the edit box. When you set cancel to true, it makes the editbox blank. I
wanted to highlight what the user had typed in. There were some other
things in the past month or so, which I can't remember now. These
limitations pushed me toward using the VSflexgrid, but not to use its
editing capabilities. For that I am using my own textbox. In every case I
checked with their tech support, and kept getting the same answer, "This
feature is not supported", or "This is by design". Anyway, now I changed my
interface design to use my own textbox for editing. I know I can get around
some of these limitations by subclassing or othr means, but the path I have
chosen is much simpler, and cleaner code (I think).

I appreciate all your help, suggestions and concerns.

Bob

"Ken Halter" <Ken_Halter@Use_Sparingly_Hotmail.com> wrote in message
news:%23F0X7XIhEHA.2908@TK2MSFTNGP10.phx.gbl...
> Bob wrote:
> > Hello all:
> >
> > In VB 6.0 I have a MSHFlexgrid and a textbox that is used for editing
the
> > grid. Is there anyway, of placing the textbox on top of the grid, but
below
> > the scrollbars of the grid?
> >
> >
> >
> > I need to do this for the case that I am editing the grid and the
textbox is
> > visible, and the user scrolls the grid. Currently, when I display the
> > textbox with text1.visible=true and text1.zorder 0, the textbox is
placed on
> > top of both the grid and its scrollbars.
> >
> >
> >
> > I appreciate your help.
> >
> >
> >
> > Bob
> >
> >
> >
> >
> >
> > PS. I have looked at ComponentOne grid, and decided not to use it.
>
> This is one of the better FlexGrid edit classes I've tried. It handles
> scrolling, tab key, etc. It would be simple to change it into an
> MSHFlexgrid class.
>
> FlexGrid Editing
> http://home.iprimus.com.au/billmcc/PlatformVB/controls/flexedit.htm
>
> I still say.... Grab these while they're still free and forget the
> MS(h)Flexgrids. Can't imagine why you wouldn't want the VSFlexgrid
> (besides the fairly large download). The syntax is exactly like the
> MSFlexgrid because MS aquired the MSFlex from the same company that
> wrote the VSFlex. The difference is... no one never stopped working on
> the VSFlexgrid components.
>
> Subject: Obtaining the free ComponentOne ActiveX controls
>
http://groups.google.com/groups?selm=uvP28SRuDHA.2544%40TK2MSFTNGP09.phx.gbl&oe=UTF-8&output=gplain
>
> If the size of the download's stopping you, do what I did before
> broadband.. that is, right before bed, start the download. When you wake
> up, it should be done. After that's over, you'll have several of the
> best controls available (imo). Be sure to read the post above carefully
> to avoid 2 huge downloads instead of one.
>
> --
> Ken Halter - MS-MVP-VB - http://www.vbsight.com
> Please keep all discussions in the groups..



Relevant Pages

  • Re: MSHFlexgrid scrollbars and textbox
    ... Is there anyway, of placing the textbox on top of the grid, but below ... > I need to do this for the case that I am editing the grid and the textbox is ... > top of both the grid and its scrollbars. ...
    (microsoft.public.vb.controls)
  • Re: Spreadsheet like control for VB6
    ... Farpoint grid. ... when working with the Farpoint grid. ... One final benefit to the VSFlexgrid is.... ... Switching from a Flexgrid to the Farpoint grid is, just about, a complete ...
    (microsoft.public.vb.general.discussion)
  • Re: need proof???
    ... > It might be an idea to poke around inside the MSFlexGrid and find out ... features the VSFlexgrid has that the MSFlexgrid doesn't ... VSFlexgrid's my favorite grid.... ...
    (microsoft.public.vb.general.discussion)
  • Re: VB6 and flexgrid7
    ... It is VSFLEXGRID 7 ... floating texbox method or is it a grid that has this built ... Im'not sure understand you about "floating texbox method "? ...
    (microsoft.public.vb.controls)
  • Re: MSHFlexgrid scrollbars and textbox
    ... > In VB 6.0 I have a MSHFlexgrid and a textbox that is used for editing ... of placing the textbox on top of the ... > grid, but below the scrollbars of the grid? ... > textbox is placed on top of both the grid and its scrollbars. ...
    (microsoft.public.vb.controls)