Solved

ActiveX Control Help - easy

Posted on 1998-06-30
1
138 Views
Last Modified: 2010-05-03
I want to create a modified version of the dbgrid control.  All I am wanting to do is add a setdata function to it.  How do I keep all the pre-exisiting functionality available in my new control? ex: mydbgrid1.textmatrix(x,y) - This is not available for somereason. In fact, nothing is.
0
Comment
Question by:redbaron082997
1 Comment
 
LVL 2

Accepted Solution

by:
Jagar earned 50 total points
ID: 1464604
Create a new ActiveX control.  Add the DBGrid to the new control.  In the resize event on the control make the grid equal to the size of the control.  Then click on add-ins and click on ActiveX control interface wizard.  Click next a couple of times until you get to the step called Set Mapping the select everything in the left column and choose the DBGrid from the combo box on the right.  Click next anything that is still in the left column click back and select those and then select usercontrol from the combobox on the right.  Click next until you get to the end and then click finish.
This should give you everything now you just have to add what you want.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

707 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

12 Experts available now in Live!

Get 1:1 Help Now