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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using Grid ..can't add controls ... 1

Status
Not open for further replies.

Brezhnev

Programmer
Sep 25, 2002
53
CA
Hi everybody!
Using Grid object on my form. Trying to add checkboxes and comboboxes to it.Receiving an error : "Cannot add object to the Grid" . Any ideas ?

thanks in advance
 
Thats true - make sure you have selected a column before trying to drop a checkbox or combobox "on the grid".

Rick
 
HI Brezhnev

1. Drop the checkbox control on the form, like any other box and first configure it with settings required (to make life easier).

2. Now select this checkbox and use CTRL+X or CTRL+C to get that into the clipboard.

3. Now select the grid and in the propertybox, select the column where you want to add the checkbox control.

4. Carefully click on the form designers titlebar area once (The property sheet will still display the column as the selected object).

5. In the key board, press CTRL+C to get the copy from clipboard to the column object.

You are thru..

Now to delete the Text1 from the column...
1. Select the ColumnN.Text1 in the property window..
2. Click on the Forms Wizard Titlebar area once.
3. Press the DELETE key once.

You are thru.. :-}



____________________________________________
ramani - (Subramanian.G) :)
When you ask VFP questions, please add VFP version.
 
thanks a lot .. it worked ... so is it a bug with drug and drop ???
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top