473,419 Members | 1,702 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,419 software developers and data experts.

MDI Parent Form / Modal Child Form...?

Ben
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 lists all users and details on each user. This
form, named "Users and Passwords", I was hoping to keep within the
confines of the MDI Parent Form, but at the same time, disallow any
other form from gaining focus, as well as disallowing the user from
clicking onto the MDI Parent's Menu bar. In essence, I was hoping to
find a way to make a Modal, Child Form.

I know that this is something that is not natively possible, but I was
hoping that someone has a possible code workaround. After attempting
several methods, I even resigned myself to be content with using the
ShowDialog() method, using the MDI Parent as the Owner form in the
hopes to at least have the modal form start off centered within it's
owner. Unfortunately, the form constantly displays itself at the
Top-Left corner of the entire screen. And before someone suggests
using CenterScreen as the StartPosition, many of my users will be using
Dual Monitors, and that setting would cause it to display half on one
monitor and half on the other.

I know it seems a little petty on wanting the forms to display in such
a particular way, but I just like to make things look as professional
as possible. So if anyone knows how to make either a Modal MDI Child,
or how to center the form to its parent when it is set to Modal, please
let me know. :-)

Thank in advanced for any assistance.

-----------------------
Ben Santiago, MCP & A+
Programmer (SQL, FoxPro, VB, VB.Net, Java, HTML, ASP, JSP, VBS)

Nov 23 '05 #1
0 2318

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

Similar topics

1
by: Graham Blandford | last post by:
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...
1
by: gopal srinivasan | last post by:
I need to know how to close a parent modal window when child modal window opens, also i need to know the syntax for writing document on the modal window on the fly, like what we do in case of...
9
by: SJ | last post by:
Here's the scenario Website has a button that pops up a confirmation window when clicked. When the user clicks the "confirm" button in this popup window, I want all the following to happen :...
2
by: Mike L | last post by:
The child form can be dragged out of the Parent form. I set the child form to IsMdiContainer = False and the Parent Form IsMdiContainer = True. I also coded in the Parent Form on load, Dim f As...
3
by: luna | last post by:
i have a parent form which opens a child form, i need to pass a variable back to parent then reload parent so parentopens child, child passes to parent, child closes, parent reloads its only...
4
by: raj_genius | last post by:
I hav two queries, whc are as follows: FIRSTLY: is it possible to access the controls(by name) of a parent form(MDI) from its child forms??if yes then how??plzz provide a coded example in VB if...
4
by: henpat | last post by:
Hello all I have a MDI Parent Form with some childs. I need to know how can I setup a child form in order to disable access for other forms "in the back". I need that only the active form be...
4
by: =?Utf-8?B?QWxsYW4gTWljaGFlbHM=?= | last post by:
Hello all, We have a main form. We have the message loop programmed to listen for 'key strokes' from a bar code scanner. But when the message loop 'hears' the keystrokes, we need to know if the...
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
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...
0
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...

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.