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

Modal / Parent forms VB.net

Hi all,

Wonder if anyone can shed any light on this scenario.

I have an MDI form, Form1, that opens a child window Form2.. - simple
enough. However, from Form2, I would like to open a form Form3 (is a 'search
and select' type form) and have it modal to form2 AND be an MDI child...
i.e. the user cannot get back to Form2 without doing whatever they have to
do in Form3, but at the same time can go and do something else in Form1 -
e.g. open another form.!!..

I'm sure this has been explained in the past - if anyone can help it would
be appreciated.

Thanks,
Graham



Nov 20 '05 #1
3 1658
* "Graham Blandford" <gr**************@sympatico.ca> scripsit:
I have an MDI form, Form1, that opens a child window Form2.. - simple
enough. However, from Form2, I would like to open a form Form3 (is a 'search
and select' type form) and have it modal to form2 AND be an MDI child...


That's not supported by Windows' MDI forms. Do not display the form as
MDI child, that's the preferred "solution".

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
Good enough for me - if that is the normal approach - I'm all for sticking
with it.

Thanks,
Graham

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:2h************@uni-berlin.de...
* "Graham Blandford" <gr**************@sympatico.ca> scripsit:
I have an MDI form, Form1, that opens a child window Form2.. - simple
enough. However, from Form2, I would like to open a form Form3 (is a 'search and select' type form) and have it modal to form2 AND be an MDI child...


That's not supported by Windows' MDI forms. Do not display the form as
MDI child, that's the preferred "solution".

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #3


*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #4

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

Similar topics

1
by: Gwyn | last post by:
I have a burning desire (need) to dislay either modal forms or something equivalent within an MDI based application... Except I can't! I can use ShowDialog() but the form being shown cannot...
3
by: Earl Teigrob | last post by:
Can a Modal Dialog Box do forms ASP.NET forms validation from within the Modal Box? I want to pop up a dialog box to the user and have it do its own post backs with validation checking and then...
2
by: des | last post by:
Hi, I would like to create a modal dlalog page for displaying some error message. I just want to know, is there anyway to pop out the modal dialog page in the vb.net code? Because each time i...
10
by: Chris Petchey | last post by:
My App is an MDI Parent with MDI Child forms. One of the child forms calls a modal dialog form. I would like the modal dialog form to be INSIDE the mdi parent window. I am not bothered about...
0
by: Lee | last post by:
I wonder if there's any way around this. I open a window as a modal form, but I would like to have pop up message boxes appearing on top of this that are non modal (so the user can close...
0
by: Ben | last post by:
Please excuse if this ends up being a double post at some point. I tried posting using another website which crashed, so I am not sure if it will ever get posted. As such I decided to try again...
5
by: Dmitry Akselrod | last post by:
Hi Everyone, I am working in VB.NET, Framework v.1.0. I have tons of forms in my application. I have a situation, where a form starts another form as a Modal Dialog. The Modal Dialog then...
2
by: sthrudel | last post by:
Hi! I'm working on a web application in Asp.net and what I would like to have is a cross borwser modal dialog which accepts user's input. I would like to catch what the user clicked on the...
3
by: =?Utf-8?B?aWxy?= | last post by:
Hi All I am developing an vb 2005 winforms application that connects to a database and displays a datagridview of the data. A user can select and then edit, or create a new entry by opening a...
1
by: samentu | last post by:
Hi there. I'm having a little problem here with some forms. Let me describe the problem: my application has a MDI parent form (the form that starts with the application); then when I click a button...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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
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.