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

Help with form focus

Hi,

I know how to create an instance of a new form , etc. However, i don't seem
to be able to find a method or set a property that, once a new form is
created, no other form can have input until the (latest) form is closed.

TIA
-steve
Nov 20 '05 #1
3 1018
Dim f as new MyForm
If f.ShowDialog(Me) = DialogResult.OK Then
' do something
End If
f.Dispose()

Greg

"steve" <noemail.@try.com> wrote in message
news:Lp*********************@wagner.videotron.net. ..
Hi,

I know how to create an instance of a new form , etc. However, i don't seem to be able to find a method or set a property that, once a new form is
created, no other form can have input until the (latest) form is closed.

TIA
-steve

Nov 20 '05 #2
Thanx Greg !
interesting !.... but i don't understand the idea behind it. Goota do some
reading in Help.
Thx again!

-steve

"Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> a écrit dans le message
de news:%2*****************@TK2MSFTNGP09.phx.gbl...
Dim f as new MyForm
If f.ShowDialog(Me) = DialogResult.OK Then
' do something
End If
f.Dispose()

Greg

"steve" <noemail.@try.com> wrote in message
news:Lp*********************@wagner.videotron.net. ..
Hi,

I know how to create an instance of a new form , etc. However, i don't

seem
to be able to find a method or set a property that, once a new form is
created, no other form can have input until the (latest) form is closed.

TIA
-steve


Nov 20 '05 #3
"steve" <noemail.@try.com> wrote in message
news:Lp*********************@wagner.videotron.net. ..
Hi,

I know how to create an instance of a new form , etc. However, i don't seem to be able to find a method or set a property that, once a new form is
created, no other form can have input until the (latest) form is closed.


I believe you use form1.ShowDialog() instead of form1.Show().
Nov 20 '05 #4

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

Similar topics

4
by: Nitin | last post by:
Hi I have created function to check date and time. at the time of execution, if date is left empty the function returns the error message but then the focus goes to next field. Next filed is for...
6
by: francisco lopez | last post by:
ok , first of all sorry if my english is not so good, I do my best. here is my problem: I don´t know much javascript so I wrote a very simple one to validate a form I have on my webpage. ...
5
by: Novice Computer User | last post by:
Hi. Can somebody PLEASE help. Here is a .php script. Right now, the minimum amount of time (i.e. duration) allowed is 1 month. However, I want to be able to reduce the minimum amount of time to...
4
by: Elaine | last post by:
Hi I have created a form which contains a subform. To cut a long story short, I have created a macro that moves the focus to the subform (GoToControl) and sets a value (SetValue) in the field...
2
by: Vinny | last post by:
I'm writing a small ASP program which prompts the user for data. I would like to interactively validate the data as they are entering it, rather than waiting until they submit the form. So, I am...
2
by: Vinny | last post by:
A customer wants me to convert a VB app I wrote for them into a web app for remote users to do data entry. So, I'm writing a small ASP program which prompts the user for data, much like a VB...
6
by: kberry | last post by:
I am clearing Textboxes on a form... this is loop I have came up with but was wondering if it can be shorter or not as long... Can anyone help? Dim controlOnForm As Control 'Places a control...
1
by: colleen1980 | last post by:
Hi: I am trying to pull all the values from the listbox. But the ASP code shows only the last record. Needs help HTML <html> <head>
1
by: tadisaus2 | last post by:
Hello, I created a form to validate form fields for empty fields and check ssn. When I added the set focus() on, it does not work. Can you help please to see why my does not work? it worked...
13
by: DDragon | last post by:
ok here is the problem, i have to forms which have values i wish to be added together i can add together the values in one form all right but im having problems with adding the values of the other...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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...

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.