I have an MDI form with 2 child forms. I open the first
child window which contains a textbox and a button. The
button opens the second child form. If you click the
button, open the 2nd child form, close the second child
form, click in the textbox and change some text, then hit
enter, the program acts as if the button was hit (it
doesn't have focus nor is it the "Accept Button" of the
form). I have a small sample app that demonstrates this
behavior (it is hard to visualize without a sample). If
anyone feels like they can help and wants to look at the
sample, I would greatly appreciate it. :) 5 2365
Dan:
I just tried it and it's not happening...
Here's what I did, is this correct:
Form1 is MainMDI. I have a button (Button1) and a textbox (TextBox1).
Clicking Button1 Instaniates and calls the Show Method of Form2 (f2). I
close f2. At this point, I'm back in the MainMDI. Enter Textbox1 and change
the text, then hit Enter. I hear a ding and nothing happens.
Post the code, I'd be glad to check it out.
Bill
"Dan Fischer" <df***@trnswrks.com.NO_SPAM> wrote in message
news:00****************************@phx.gbl... I have an MDI form with 2 child forms. I open the first child window which contains a textbox and a button. The button opens the second child form. If you click the button, open the 2nd child form, close the second child form, click in the textbox and change some text, then hit enter, the program acts as if the button was hit (it doesn't have focus nor is it the "Accept Button" of the form). I have a small sample app that demonstrates this behavior (it is hard to visualize without a sample). If anyone feels like they can help and wants to look at the sample, I would greatly appreciate it. :)
Close. I have an MDIForm that has a button that opens
Form1. From there you are correct.
How can I post the zip of my project? I'm not getting
an "Attachment" box when posting? -----Original Message----- Dan:
I just tried it and it's not happening...
Here's what I did, is this correct:
Form1 is MainMDI. I have a button (Button1) and a
textbox (TextBox1).Clicking Button1 Instaniates and calls the Show Method
of Form2 (f2). Iclose f2. At this point, I'm back in the MainMDI. Enter
Textbox1 and changethe text, then hit Enter. I hear a ding and nothing
happens. Post the code, I'd be glad to check it out.
Bill "Dan Fischer" <df***@trnswrks.com.NO_SPAM> wrote in
messagenews:00****************************@phx.gbl... I have an MDI form with 2 child forms. I open the
first child window which contains a textbox and a button.
The button opens the second child form. If you click the button, open the 2nd child form, close the second child form, click in the textbox and change some text, then
hit enter, the program acts as if the button was hit (it doesn't have focus nor is it the "Accept Button" of the form). I have a small sample app that demonstrates
this behavior (it is hard to visualize without a sample).
If anyone feels like they can help and wants to look at
the sample, I would greatly appreciate it. :)
.
If you are using Outlook Express, just maximize the window. If you can't
get it to work, just send it to wryan(LeaveThisOut)@infoprogroup.com
"Dan Fischer" <df***@trnswrks.com.NO_SPAM> wrote in message
news:04****************************@phx.gbl... Close. I have an MDIForm that has a button that opens Form1. From there you are correct.
How can I post the zip of my project? I'm not getting an "Attachment" box when posting?
-----Original Message----- Dan:
I just tried it and it's not happening...
Here's what I did, is this correct:
Form1 is MainMDI. I have a button (Button1) and a textbox (TextBox1).Clicking Button1 Instaniates and calls the Show Method of Form2 (f2). Iclose f2. At this point, I'm back in the MainMDI. Enter Textbox1 and changethe text, then hit Enter. I hear a ding and nothing happens. Post the code, I'd be glad to check it out.
Bill "Dan Fischer" <df***@trnswrks.com.NO_SPAM> wrote in
messagenews:00****************************@phx.gbl... I have an MDI form with 2 child forms. I open the first child window which contains a textbox and a button. The button opens the second child form. If you click the button, open the 2nd child form, close the second child form, click in the textbox and change some text, then hit enter, the program acts as if the button was hit (it doesn't have focus nor is it the "Accept Button" of the form). I have a small sample app that demonstrates this behavior (it is hard to visualize without a sample). If anyone feels like they can help and wants to look at the sample, I would greatly appreciate it. :)
.
Sent... -----Original Message----- If you are using Outlook Express, just maximize the
window. If you can'tget it to work, just send it to wryan(LeaveThisOut)
@infoprogroup.com"Dan Fischer" <df***@trnswrks.com.NO_SPAM> wrote in
messagenews:04****************************@phx.gbl... Close. I have an MDIForm that has a button that opens Form1. From there you are correct.
How can I post the zip of my project? I'm not getting an "Attachment" box when posting?
>-----Original Message----- >Dan: > >I just tried it and it's not happening... > >Here's what I did, is this correct: > >Form1 is MainMDI. I have a button (Button1) and a textbox (TextBox1). >Clicking Button1 Instaniates and calls the Show Method of Form2 (f2). I >close f2. At this point, I'm back in the MainMDI.
Enter Textbox1 and change >the text, then hit Enter. I hear a ding and nothing happens. > >Post the code, I'd be glad to check it out. > >Bill >"Dan Fischer" <df***@trnswrks.com.NO_SPAM> wrote in message >news:00****************************@phx.gbl... >> I have an MDI form with 2 child forms. I open the first >> child window which contains a textbox and a button. The >> button opens the second child form. If you click
the >> button, open the 2nd child form, close the second
child >> form, click in the textbox and change some text,
then hit >> enter, the program acts as if the button was hit (it >> doesn't have focus nor is it the "Accept Button" of
the >> form). I have a small sample app that demonstrates this >> behavior (it is hard to visualize without a sample). If >> anyone feels like they can help and wants to look at the >> sample, I would greatly appreciate it. :) > > >. >
.
Anyone? -----Original Message----- I have an MDI form with 2 child forms. I open the first child window which contains a textbox and a button. The button opens the second child form. If you click the button, open the 2nd child form, close the second child form, click in the textbox and change some text, then
hitenter, the program acts as if the button was hit (it doesn't have focus nor is it the "Accept Button" of the form). I have a small sample app that demonstrates this behavior (it is hard to visualize without a sample). If anyone feels like they can help and wants to look at the sample, I would greatly appreciate it. :) . This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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...
|
by: Peter Wright |
last post by:
Hi all.
Hopefully this should demonstrate the problem I'm having:
http://flooble.net/~pete/focus-problem-demo/
(I'm testing it in Mozilla only, but I'm not sure if it's actually a...
|
by: VA |
last post by:
t=document.getElementById('mytable')
is a HTML table with some input fields in its cells
Why doesnt
t.getElementsByTagName('tr').firstChild.focus;
put the focus on that text field? It...
|
by: Neil Ginsberg |
last post by:
OK, this is a stupid thing, but I can't seem to get this to work. I have a
form with a subform (in continuous form view). A combo box on the main form
has code in the AfterUpdate event which adds a...
|
by: avnrao |
last post by:
Hi,
I am facing a problem with control.focus (javascript). Here is the
description of the issue.
1. I have 2 aspx files. on Aspx1 I have button named NewRow. Clicking on
this, will redirect...
| |
by: SJ |
last post by:
Hi all,
I have come across a weird problem when attempting to automatically
set the focus in a vb.net form to a checkbox control...
In my form I have (on a tab page in a tab control) several...
|
by: Alex.Svetos |
last post by:
Hello,
I'm trying to get a popup to keep focus when it is re-clicked.
The script below is supposed to produce this exact behaviour,
however it doesn't work, at least on firefox 1.0.7 and moz...
|
by: Dave Booker |
last post by:
I am using a WebBrowser object in my .NET 2.0 application, but it is not
shown to the user. Every time a timer event triggers it to perform a
m_WebBrowser.Navigate() I get that classic IE 'click'...
|
by: Roger |
last post by:
Hi,
I am confused about the differences between this.window.focus(),
window.focus(), and this.focus().
I want to use the calls in a <body onload="..."tag. What are the
differences between...
|
by: jp2express |
last post by:
I have several applications that use panels as screens, but I can *not* seem
to set the focus for a Textbox.
Panel1.BringToFront()
Panel1_Textbox.Focus()
' do something with a control on Panel1...
|
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: 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: 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...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
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...
|
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,...
|
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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |