473,326 Members | 2,192 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,326 software developers and data experts.

mdiform childform and other form

I have a program with a mdiform and same childforms (with a textbox) that i
open.
All works fine.
In the childform i open another form (for finding and replacing).
In a sub in that form i try to write there
mdiform.activechildform.textbox.text but that fails because activechildform
should not be a member of mdiform.
I don't see why.
The goal is to reach the textbox of the active childform.
For those who has the book form Evangelos Petroutsos : Mastering Visual
Basic.net, look for the project MDIPad (H19).


Nov 20 '05 #1
2 1871
Sorry for this message.
I found the solution of my problem
I forgot to take a public shared varaible in the mdi form for the child
"andreas" <an*****@pandora.be> schreef in bericht
news:he*********************@phobos.telenet-ops.be...
I have a program with a mdiform and same childforms (with a textbox) that i open.
All works fine.
In the childform i open another form (for finding and replacing).
In a sub in that form i try to write there
mdiform.activechildform.textbox.text but that fails because activechildform should not be a member of mdiform.
I don't see why.
The goal is to reach the textbox of the active childform.
For those who has the book form Evangelos Petroutsos : Mastering Visual
Basic.net, look for the project MDIPad (H19).


Nov 20 '05 #2
Sorry for this message.
I found the solution of my problem
I forgot to take a public shared varaible in the mdi form for the child
"andreas" <an*****@pandora.be> schreef in bericht
news:he*********************@phobos.telenet-ops.be...
I have a program with a mdiform and same childforms (with a textbox) that i open.
All works fine.
In the childform i open another form (for finding and replacing).
In a sub in that form i try to write there
mdiform.activechildform.textbox.text but that fails because activechildform should not be a member of mdiform.
I don't see why.
The goal is to reach the textbox of the active childform.
For those who has the book form Evangelos Petroutsos : Mastering Visual
Basic.net, look for the project MDIPad (H19).


Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: andreas | last post by:
I can open several childforms with the following sub in de mdi form after clicking a button Private Sub NewWindow() Dim ch As New ChildForm() ch.MdiParent = Me ch.Text = "Textwindow nr " &...
0
by: andreas | last post by:
I have a program with a mdiform and same childforms (with a textbox) that i open. All works fine. In the childform i open another form (for finding and replacing). In a sub in that form i try to...
0
by: CJ | last post by:
I have a mdiform that has a toolbar and a status bar on it. When I load a child form both controls appear over the child thus obscuring the top and bottom of the child form. It appears that the...
1
by: jaYPee | last post by:
I have an MDIForm and two child form. My problem is when I open the first child form the windows state is normal and then open the 2nd child form from this child form. When the 2nd child form is...
0
by: Supra | last post by:
how do i put mdiform in block? Public Shared Sub Show(ByVal frm As Form) Dim obj As Object Dim bFound As Boolean = False For Each obj In m_colFormsCollection Dim frmCurrent As Form frmCurrent...
1
by: Rich | last post by:
Hello, I have a child form in a parent MDI form. The childform is being shrunk and cannot be resized when screen resolution is 800x600. The end user who uses my app cannot see stuff on the...
2
by: ksharma | last post by:
Hi, I m new in c#, windows application. I have created a MDIForm, ChildForms named (Form1, Form2, Form3, ..........). Each child form contains the function : public void...
6
by: =?Utf-8?B?anAybXNmdA==?= | last post by:
What would cause VS2005 Pro to lose all of my MdiForm Design information? I've been working on one of the Child Forms and having problems with the Child Form's threads not completing (locking up...
0
by: thesti | last post by:
hello, i have some labels in my MDIParent form, they are greeting labels for the logged in user. when i open a childform, the labels cover the opened childform, while actually i expect that the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.