473,698 Members | 2,339 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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



Jul 21 '05 #1
1 1903
"Graham Blandford" <gr************ **@sympatico.ca > schrieb
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.


Either it's an MDI child -or- it's modal. MDI children are not modal.
BTW, the ADO.Net group is not the right destination for the message, also
it's not VB.Net specific.
microsoft.publi c.dotnet.framew ork.windowsform s would have been the right
one. Only mentioned for future questions. :-)
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Jul 21 '05 #2

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

Similar topics

1
1527
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 have an MDIParent. I thought, ok, I'll implement it myself... only I can't work out how the hell I could do it...
3
2878
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 save the data and close the dialog when the page is valid. I have read a little about using Iframes to post back to, but was wondering if this would work for what I am trying to do? Also, does anyone have a code sample of this (postback from modal...
2
2421
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 click the button, the page check and show the modal dialog page while the parent page still runing, so could someone tell me how to show the modal dialog page after the parent page is finish run.
10
11690
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 any of the other things associated with MDI Parent/Child relationships, this is purely an appearance issue. MDIParent property and ShowDialog seem to be mutually exclusive.
0
961
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 whichever of the pop ups they like). If I make the parent window non modal this works fine. I simply set the TopMost property for each pop up so that is stays on top of the parent. However as soon as I make the parent window modal (which is absolutely...
0
2334
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 on another site. I am having a small problem that I am hoping someone might be able to help me with. I am creating an MDI based application, where the "Administrative" user will have the ability to click on a Menu Item to display a form that...
5
3561
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 possibly starts another form as Modal Dialog. Thus, if the main form is frmMain, and the other two forms are frmOne and frmTwo, then frmMain calls frmOne.ShowDialog(me) and frmOne calls frmTwo.ShowDialog(me). My problem is that when frmTwo is...
2
3684
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 dialog. To be more specific I want to have a confirmation dialog that is shown when a user clicks on a Delete button (which deletes some values from database). If Yes is pressed the delete action is processed otherwise modal dialog is closed.
3
2436
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 modal form and editing the record. I would like the user to be able to hide either the parent form or the parent and modal form if they are currently editing in the modal form and unhide the parent or both forms from the notification icon. I seem...
1
1658
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 a modal form appears; this modal form has a button in it that when clicked should close itself, create a new child form for the parent and create another modal form. The thing is that when I click the button on the modal form it does close itself but...
0
8674
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8603
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8861
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7725
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4369
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.