Results 1 to 4 of 4

Thread: Prevent Select All In FlexGrid

  1. #1

    Thread Starter
    Frenzied Member agmorgan's Avatar
    Join Date
    Dec 2000
    Location
    Lurking
    Posts
    1,383

    Resolved Prevent Select All In FlexGrid

    I am using the 'floating text box' approach to enter data into an MSflexgrid

    When a user clicks the top left cell (i.e. in the row/column headers) the whole grid is selected as you would expect.
    However, if the user then types something into the activecell, this is placed in all the cells in the grid.

    How can I stop entire columns and/or rows from being selected?

  2. #2

    Thread Starter
    Frenzied Member agmorgan's Avatar
    Join Date
    Dec 2000
    Location
    Lurking
    Posts
    1,383
    hmm have just noticed that none of the methods seem to get called before it selects all

    Is sub-classing the only way?
    I have no idea how to do that

  3. #3
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758
    No subclassing neccessary, set the AllowBigSelection property to false.

  4. #4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width