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!

Multiple controls in Grid column

Status
Not open for further replies.

SteveMacPSU

Programmer
Sep 8, 2005
32
US
I have a grid that I have added a combobox in a column, can I delete the reference to the text box under that column? I think you can, but am stumped on how to accomplish this. Thank you in advance.
 
Thanks Dave,

I did know that, what I wanted to do was drill down and actually delete the text1 control under that column which I found out how to do this way.... Select text1 under the specific column from the list, then click the Form Designer's title bar to make it active and then press DELETE.
 
Steve,

This is a bit tricky, but certainly do-able.

First, select the textbox (the one you want to delete) in the combo box at the top of the property window.

Then, click on the title bar of the form designer. Note -- not the title bar of the actual form, but that of the outer window that holds the form. The point is that you need to select this window without selecting the form itself or any of the control on the form.

Finally, hit the Delete key.

Mike


__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
In addition to Mike's good advice, if you use the Toolbox to add controls to a grid, you don't have to handle all this manually. You can configure the Toolbox so that dropping a control on a grid column removes the default Text1 from that column and sets CurrentControl.

Just one more way that the Toolbox is far superior to the Form Controls toolbar.

Tamar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top