Results 1 to 3 of 3

Thread: MS Flex Grid

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    2

    Angry

    Hi All,

    I was just wondering if there is anyway to insert a command button into a flex grid cell. Any help would be apprecieated, email any responses to [email protected]

    Thanks

    Mike

  2. #2

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    2

    and another thing

    Is it possible to turn of arrow scrolling of the grid. I would like to try and trap the up and down arrow keys so I can change a value when they are pressed.

    Thanks again,

    MIke

  3. #3
    New Member
    Join Date
    Aug 2000
    Posts
    15
    You can use the following code to put a command button on top of the flexgrid so that it appears to take the place of one of the cells. This is as close as I can get to what it sounded like you were looking for.


    [code]MSFlexGrid1.Col=1
    MSFlexGrid1.Row=1
    Command1.Height = MSFlexGrid1.CellHeight
    Command1.Width = MSFlexGrid1.CellWidth
    Command1.Top = MSFlexGrid1.Top + MSFlexGrid1.CellTop
    Command1.Left = MSFlexGrid1.Left + MSFlexGrid1.CellLeft
    Form1.Refresh[code]
    That's not a BUG, It's a feature!



    VB6 Professional Service Pack 3
    Windows CE Embedded Visual Tools 3

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