I'm trying to make MSFlexGrid is always on top (top most). MSFlexGrid is never lie down other control.I used zOrder method, but not successful. I use VFP9.
Sorry! I was describe not right with my idea.
My form has a textbox (txtCell) and a MSFlexGrid (MSFG). When a cell of MSFG focused, txtCell will visible and locate on MSFG.
Thisform.showTxtCell()
With Thisform.MSFG
Thisform.txtCell.Move .Left + .CellLeft, .Top + .CellTop, .CellWidth, .CellHeight
Thisform.txtCell.Text = .Text
Thisform.txtCell.SelLength = Len(.Text)
End With
Thisform.txtCell.Visible = .T.
Thisform.txtCell.SetFocus
But MSFG is always front txtCell. I used zOrder method, but not successful. At runtime (not design time).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.