?
Solved

Inheritance of form,tab pages & user control

Posted on 2004-08-05
3
Medium Priority
?
151 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Simple Linear Regression
Six Sigma Control Plans
Suggested Courses

801 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