473,387 Members | 1,585 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

linking a form to different forms

4
helo am new in vb6. i have three forms and i want form 1 to link to form2 and form3 link to form2 please help me with the code
May 22 '10 #1

✓ answered by vb5prgrmr

What do you mean by link?

3 1216
vb5prgrmr
305 Expert 100+
What do you mean by link?
May 22 '10 #2
alodes
4
@vb5prgrmr
i mean tto connect
May 22 '10 #3
vb5prgrmr
305 Expert 100+
Connect how?

In form1...
Form2.show
me.hide 'or unload me

in form2
form3.show
me.hide 'or unload me

Or are you talking about one form containing another form? If so, then you will need to add a MDI form to your project and your existing forms will need their MDIChild Property set to true.

Side by side???
In form1
Me.Move 0, 0, (screen.width / 3), (screen.height / 3)

in form2
me.move form1.width, 0, (screen.width / 3), (screen.height / 3)

in form3
me.move (form2.left + form2.width), 0, (screen.width / 3), (screen.height / 3)



Good Luck
May 22 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Bryan | last post by:
I have this function below function checkLength(field, nextField) { var letters = document.form1.elements.value.length +1; if (letters <= 2) {document.form1.elements.focus()} else...
0
by: mstanley71 | last post by:
Hi All, I have a problem, I'm using Access 2002 SP3. and am trying to use a button on each form to link back to a hyperlink on a table based on a combo box selection on the same form record..ie...
0
by: Bamse | last post by:
Hi, I want to synchronize (the Master-Details concept) 2 grids in 2 different forms by using BindingContext. is this possible?
1
by: bearmstrong | last post by:
Here's what i need to do, keep in mind that I'm new to access and have learned coding is the same as excel. I have 2 different types of users, those that are users and those that are admin. I have...
1
by: saqib01 | last post by:
Please help me in knowing that how can I add values from different forms, i mean i want to add values from form1 and form2 and show the result in form 3
1
by: erri | last post by:
Is there a way to split the contents of one table into different forms (i.e. subform1 = LastName A-F, subform2 = LastName F-M, etc) without having to make queries?
1
by: Skarthi | last post by:
i write a oracle stored procedure in login screen.. its two different type of login employee and employer...in front end assign the procedure in class file... how to call different forms my...
2
cindy2
by: cindy2 | last post by:
Hi everybody, In my vb2005-project I have a subprocedure (in a MODULE) like this: Public Sub MakeInputArray() Input(0) = Form2.TextBox1.Text Input(1) = Form2.TextBox2.Text End Sub...
3
by: Zabooster | last post by:
Hi all, I have to submit a project in 2 days' time and am currently challenged trying to send information inputted into textboxes, radiobuttons and checkboxes present in different forms to a sigle...
2
by: vajra1987 | last post by:
Hi guys I have the following situation: In mypage1.jsp I have 4 forms, each with a different name (and id). But on these forms, there are some fields that have the same name, for example ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.