[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Inheritance of form,tab pages & user control

Posted on 2004-08-05
3
Medium Priority
?
153 Views
Last Modified: 2013-11-26
I am working on a project in visual basic  6 in which  I want to create a base program from which I want to inherit forms with / without tab pages.
If it is with tab pages then first tab page should be always be called as idw_mast. 2nd tab page as idw_trans[1],3rd tab page as idw_trans[2]
globally and so on. Also I want to create user objects having common global functions and variables which I can use in my all forms.
Can I use user control for this purpose? If yes, explain what is user control, how to use it with examples and where to use it ? If no, then tell me what to use to serve above purpose.
Also tell me about tab pages with examples.

Pl. help me
Regards

Yogita
0
Comment
Question by:sanyogita
[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
3 Comments
 
LVL 3

Accepted Solution

by:
TILL earned 500 total points
ID: 11724261
You should create a custom control. This way, you can customize the control to be used in different ways in different Forms.
Embed the entire functionlity into this control. Make properties and methods that can be used to specify how many tabs to use.... after that, the tabs can be generated based on the logic that you described before. Tabs can be created both at design time and run-time (programatically). Take advantage of this.

If you need more help, please let me know.

Best of luck.
TILL.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
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…
Progress
Suggested Courses

650 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