Solved

Inheritance of form,tab pages & user control

Posted on 2004-08-05
3
148 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 125 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Send outlook email from VBS Script 2 60
Problem to line 23 74
Dinamic report to Crosstab query 9 53
VBA: copy range dynamically based on config sheet v3 6 34
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.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

730 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