-
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
-
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.
-
Thanks Gen-X
Thank You For The Fast Reply Gen-X. I Knew It Had To Be Something Easy.
-
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