How to set text box's ZOrder?

M

Min

Hi, I need to change the ZOrder of a text box on an Access Form by code. But
it seems VBA does not support this property. What's the walk round? Thanks!
 
D

Douglas J. Steele

As you've found, Access doesn't support ZOrder. Perhaps if you explain what
you're trying to accomplish, someone will be able to help you.
 
M

Min

Thanks for reply!
What I am trying to do is to make the MSFlexGrid editable.
I need put a text box on the form, when user click a cell of the
MSFlexGrid,the text box will be moved to that cell and change the ZOrder to
cover the cell, when user finished edit, transfer the value to the FlexGrid
and set the text box to invisible. The problem is the text box, when inter
run time, cannot keep its ZOrder at design time. When MSFlexGrid is load at
run time, the text box was hided behind the MSFlexGrid.
 
D

Douglas J. Steele

You could try SetFocus on the text box. I seem to recall, though, that I
couldn't find a reliable way to do what you're trying to do. The MSFlexGrid
control really wasn't intended for use with Access.
 

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