DBGrid: ButtonClick event.

Posted on 1999-07-08
Medium Priority
Last Modified: 2013-12-25
 I'm using DBGrid control. I have set a column's Button property to True. Now I have a drop down in the column. I'd like to show three different options to choose from in the list. How can I fill up the drop down list?
Question by:skop
  • 2
LVL 12

Accepted Solution

jgv earned 200 total points
ID: 1495102
You would use the X Y value to position a listbox directly under the cell to emulate a dropdown effect. You can download a tutorial that contains working projects that demonstrate this at:


Author Comment

ID: 1495103
I thought there could be something general to cover the issue.
LVL 12

Expert Comment

ID: 1495104
Huh? The download is a *tutorial*. It covers exactly what you are looking for with a sample project and a help file. What more do you want? If you didn't understand the tutorial you should have added a comment asking for more help. If this answer didn't solve your problem then you should have rejected it. Instead, you grade it with a C and leave a comment indictating that you're unsatisfied.
You're welcome

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

588 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question