?
Solved

How to create a table?

Posted on 2003-03-26
4
Medium Priority
?
147 Views
Last Modified: 2010-05-01
Hi,

I would like to know how to create a grid in VB and programme each cell in the grid is able to change color and had click event. Or any alternative way to had a table with cell itself able to change color and event handling.

thanks
pupuboo
0
Comment
Question by:pupuboo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 53

Expert Comment

by:Ryan Chong
ID: 8209432
i will try use the MSFlexGrid or ListView control, based on the requirement and then decide which one should use.
0
 

Expert Comment

by:tsravank
ID: 8209536
You can use MSFlexgrid Control Component to include Grid in your Application and you can format each cell.
0
 

Accepted Solution

by:
jinijose earned 750 total points
ID: 8210849
pupuboo

you can use a msflexgrid control.  On the click event of the flex control just type this
msgbox MsFlexGrid.textmatrix(MsFlexgrid.Row,MsFlexgrid.Col)

this will give you the content of the clicked cell.

jini
0
 

Expert Comment

by:masterofpuppets
ID: 8222193
Another option is to use third party control, which is True DBGrid(if i'm not mistaken).
0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
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…
Suggested Courses

770 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