Results 1 to 4 of 4

Thread: MSHFLEXGRID Jump To Cell And Form Colors

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Posts
    9
    Hey All. I Have A Couple Questions, First During Runtime How, In A FlexGrid, Can You Have The Focus Of The Cell Jump To Another Cell. For Example You Are In Cell 1, 1 ; And I Want To Jump To Cell (4, 5) After A Keystroke. And For My Second Question, Is There Any Way To Change The Colors Of The Title Bar On A Form And Also For Instance The Highlight Of A Combo Box, List Box Or Text Box????? Any Reply Would Be Greatly Appreciated.

    ProGMT

  2. #2
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    461
    You can use :

    FlexGrid.Row and FlexGrid.Col

    This tells you where you are and you simply set them to what you want...

    Ie:
    Code:
    FlexGrid.Row = 4
    FlexGrid.Col = 5
    
    OR
    
    FlexGrid.Row = FlexGrid.Row + 1
    FlexGrid.Col = 0
    As for changing the colors of titlebars, highlights and everything else... that is controlled by your system and is part of your color scheme (look in Display under Control Panel).

    You can change these but it will effect the ENTIRE desktop and not just your VB app.

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Posts
    9

    Thanks Gen-X

    Thank You For The Fast Reply Gen-X. I Knew It Had To Be Something Easy.

  4. #4
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    Also, if you want that row to be as first row on the screen, then you can use TopRow prorperty.

    Code:
    With MsFlexGrid1
        .Col = 5
        .Row = 10
        .TopRow = 10
    End With

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