Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Back To Front (MSFlexGrid)

Status
Not open for further replies.

TivagVCH

Programmer
Jun 2, 2006
5
VN
Hi,

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.

Please help me!
 
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).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top