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!

Drop-down on Datagrid

Status
Not open for further replies.

chrsab

Programmer
May 24, 2002
44
GB
Hello

I have a datagrid which has a couple of yes/no fields, i have made it so a dropdown list button is visible when click on the cell but nothing is displayed in the list. How can i do this? The following code is what i use to display the dropdown button.

With DataGrid1

.Columns(5).Button = True
.Columns(8).Button = True
.Columns(9).Button = True
.Columns(10).Button = True
.Columns(5).NumberFormat = "Yes/No"
.Columns(8).NumberFormat = "Yes/No"
.Columns(9).NumberFormat = "Yes/No"
.Columns(10).NumberFormat = "Yes/No"

End With

Thanx for any help
 
Did you find anything about this?

From what i can see the only way to do it is to have a floating combo box over the top of the cell.



----------------------------------------
There are 2 types of computer, the prototype and the obsolete!!
----------------------------------------
No D, just plank - and its not my fault
 
Try faq222-3262

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top