|
-
Aug 4th, 1999, 07:15 PM
#1
Thread Starter
New Member
I want to know how i can do the following :-
I have a dbgrid(dbgrdEducation), it has five columns(ID,University, Year of Passing, Stream, Degree)ID column is hidden, Now i want that when i click the cell(button) in column Stream it should show me a drop down list similar to combo-box.In the list i want Science,Humanities,Engineering etc. please help me. it is urgent.
-
Aug 4th, 1999, 07:42 PM
#2
Member
dbGrid which comes with vb as no property which will put a combo box in a column.
But with tdbgrid 6.0 you have a property where you attach a combobox to column of a grid.
But you can also fake it.
First you create a combo box.
On the click event of the column of grid you set top and left properties of the cell to combo box, so that it pulls up right over the cell.
I think you know, how to add items to combo by using additem property of combo box.
I think you got the idea.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|