Edit MSFlexGrid and location of the textbox

S

schapopa

Hi,
I have a MSFlexGrid control on the SSTab and now I am trying to make it
editable. I got some example on the net that explains how to achive
that. So I have a text box that appears over the MSFlexGrid. It works,
but location of the text box is a little bit off the cell.
(A bit to much to left and to high)

With MSFlexGrid(Index)
txtCellEditor.Location = New Point(SSTab1.Location.X +
TwipsToPixelsX(.CellLeft) + .Location.X, SSTab1.Location.Y +
TwipsToPixelsX(+.CellTop) + .Location.Y)
End With

Thank you
Schapopa
 
C

Cor Ligthert

Schapopa,

If people try to use a MSFlexGrid in VSNet than they get from me always the
same reply.

"When you did succeed in that completly, can you than sent a sample of your
code?

(I have tried it in the beginning as well by the way).

Easier is just to take the DataGrid.

Just my thought,

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top