Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Borislav Borissov
  Where is Borislav Borissov?
 Sofia
 Bulgaria
 Borislav Borissov
 To: Ilya Rabyy
  Where is Ilya Rabyy?
 Fountain Valley
 California - United States
 Ilya Rabyy
 Tags
Subject: RE: Adding subclassed control to a grid
Thread ID: 154392 Message ID: 154677 # Views: 2 # Ratings: 0
Version: Visual FoxPro 9 Category: Grids
Date: Tuesday, December 18, 2007 7:10:22 PM         
   


> >
> > You can also drag a class directly from the project manager on to the design surface. To add a control to a column in a grid ensure that the column is selected before you drag the control from the project manager to the form/class designer.
> >
> > Regards
> > Andy Kramek
> > Microsoft MVP (Visual FoxPro)
> > Tightline Computers Inc, Akron Ohio, USA
>
> Perhaps I could - if it was just pure-vanilla-VFP's grid; however, this grid is also of VMP breed, and it rejected that combo box (of VMP breed, too) when I tried to drag it from the project's window and drop it into the (selected/active) column: "Cannot add this object to a grid" error message from VFP itself (imagine that!)
>
> Regards,
>
> Ilya

No,
the COLUMN must be selected, not grid.
You must EDIT the Grid and select the column where you should add that combo. In short in Properties window you should see something like Column1, Column2 or ColumnX.



-----------------
Borislav Borissov

Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.

ENTIRE THREAD

Adding subclassed control to a grid Posted by Ilya Rabyy @ 12/14/2007 11:03:16 PM
RE: Adding subclassed control to a grid Posted by Andy Kramek @ 12/15/2007 5:32:23 AM
RE: Adding subclassed control to a grid Posted by Ilya Rabyy @ 12/18/2007 7:04:53 PM
RE: Adding subclassed control to a grid Posted by Borislav Borissov @ 12/18/2007 7:10:22 PM
RE: Adding subclassed control to a grid Posted by Ilya Rabyy @ 12/18/2007 7:27:04 PM
RE: Adding subclassed control to a grid Posted by tushar @ 12/19/2007 7:45:59 PM