Solved

DBGrid cell has focus.

Posted on 1998-11-30
3
336 Views
Last Modified: 2013-12-25
You see, I have a problemo. I need my DBGRrid to have a combobox but it seems VB's DBGRID can't do that... (need some 3rd party software...which I don't have the money to pay for)

So my idea is to move a hidden combobox, make it visible ontop of the cell that currently has focus... So my question is how do you get DBGrid to tell you that so and so cell in so and so row currently has focus???

thanx in advance
0
Comment
Question by:load_o_crap
3 Comments
 
LVL 2

Accepted Solution

by:
cedricd earned 50 total points
ID: 1497883
With the row propertie you have the number of the row's active
With the col propertie you have the number of the column's active
With this you have the coordonate of the active cell
With dbgrid1.columns(col), you have the value of this cell.
(when i say the active cell, it's the cell which has the focus)
now you can imagine a numbered name for the combo and then make a relation between the col and row and the combo's name.
This is the only solution for you problem i think
0
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1497884
I can give you a source code example but not for 50 points.
0
 

Author Comment

by:load_o_crap
ID: 1497885
thanx a bundle
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now