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

Disabling form when a new form is opened


Dear all,

I use a button to open a form, and now I'd like the first form (from
which I opened the new form) to be disabled (basically disable focus on
it), so that the only form that can be focused is the new one.

Thanks in advance

--
Smoke me a kipper... Can You do that?
Nov 13 '05 #1
2 1597
"Ace_Rimmer" <fr*****@ezrs.com> wrote in message
news:18****************************@40tude.net...

Dear all,

I use a button to open a form, and now I'd like the first form (from
which I opened the new form) to be disabled (basically disable focus on
it), so that the only form that can be focused is the new one.

In the new form's design view, set the "modal" and "pop-up" properties to
"yes".

Regards,
Keith.
www.keithwilby.com
Nov 13 '05 #2
On Thu, 11 Aug 2005 11:05:22 +0100, Keith wrote:
"Ace_Rimmer" <fr*****@ezrs.com> wrote in message
news:18****************************@40tude.net...

Dear all,

I use a button to open a form, and now I'd like the first form (from
which I opened the new form) to be disabled (basically disable focus on
it), so that the only form that can be focused is the new one.

In the new form's design view, set the "modal" and "pop-up" properties to
"yes".


Thanks. It works fine.

--
Smoke me a kipper... Can You do that?
Nov 13 '05 #3

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

Similar topics

1
by: Marcin Floryan | last post by:
Hello! My question regards opening (and re-opening) Form and the Load event. I have a main form (frmMain) and I also have a data form (frmData). In the main form I have created: Private...
1
by: Kyzer | last post by:
Hi all, I am writing a DLL which includes a function that may open a dialog. When this dialog is opened, an additional icon and program description is displayed in the Windows taskbar (similar...
5
by: Lyn | last post by:
Hi, I hope someone can help. I have a main form which mostly fills the Access window. In the bottom half of this form I have a tab control to display various types of data related to the main...
3
by: Susan Bricker | last post by:
Greetings. I have three forms that are open at the same time. They are related and cascading. The first form (frmEventAdd) is the anchor. Each event can have many Trials. The second form is...
7
by: VM | last post by:
Hi, Is it possible to open always only one instance of a MDIChild form? Say, if form A is already opened, just give it the focus. I tried declaring theMDIChild forms as private members of the...
6
by: dbuchanan | last post by:
VS2005 I've been reading all the help I can on the topic (MSDN, other) but I can't make sense of this. Desired behavior; The user is to choose from the displayed list of the databound combobox...
1
by: Robert | last post by:
I borrowed one of the forms from the MS Access Solutions database and altered it to fit my needs. The form was the 'EditProducts' form where you select a category from a combo which then populates...
0
by: Muhammad Ahsin Saleem | last post by:
hi i have a problem that in my mdi form when i open a child form in maximized state it has restore control button and i want to disable that button whan the form has opened up so that client can...
5
by: alan75 | last post by:
Hi, I want to have custom dialog box to work like a messagebox, whereby if the custom dialog box is shown, the main form that calls it will still be visible but cannot be clicked or closed until...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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
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
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,...

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.