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

How set the location of MDI child window...

Hi,

When MDI child window is initially shown it is displayed at the location
determined by the windows - this is OK. But once the child is hidden using
hide() method and showing it again it displays at another/some times the
same location.

My concern is once the child window is displayed it displays at the location
determined by windows and I moved it to a different location and hidden.
after this the same instance is re-displayed using show() method. This time
it should display at the same location where it is hidden instead it
displays at location where it was initially displayed.

Any one can help in this?

....Ashok

Nov 20 '05 #1
9 1429
"G.Ashok" <gw******@hotmail.com> schrieb
Hi,

When MDI child window is initially shown it is displayed at the
location determined by the windows - this is OK. But once the child
is hidden using hide() method and showing it again it displays at
another/some times the same location.

My concern is once the child window is displayed it displays at the
location determined by windows and I moved it to a different location
and hidden. after this the same instance is re-displayed using show()
method. This time it should display at the same location where it is
hidden instead it displays at location where it was initially
displayed.

Any one can help in this?


I can reproduce this behavior. I'd store the location before hiding the
window and reset it when showing it again.
--
Armin

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

Nov 20 '05 #2
* "G.Ashok" <gw******@hotmail.com> scripsit:
When MDI child window is initially shown it is displayed at the location
determined by the windows - this is OK. But once the child is hidden using
hide() method and showing it again it displays at another/some times the
same location.

My concern is once the child window is displayed it displays at the location
determined by windows and I moved it to a different location and hidden.
after this the same instance is re-displayed using show() method. This time
it should display at the same location where it is hidden instead it
displays at location where it was initially displayed.


I can only say that I am able to repro this behavior using .NET 1.1,
Windows XP Professional.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3
* "G.Ashok" <gw******@hotmail.com> scripsit:
When MDI child window is initially shown it is displayed at the location
determined by the windows - this is OK. But once the child is hidden using
hide() method and showing it again it displays at another/some times the
same location.

My concern is once the child window is displayed it displays at the location
determined by windows and I moved it to a different location and hidden.
after this the same instance is re-displayed using show() method. This time
it should display at the same location where it is hidden instead it
displays at location where it was initially displayed.


I can only say that I am able to repro this behavior using .NET 1.1,
Windows XP Professional.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #4
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> schrieb

I can only say that [...]


You can only say but not only you can say... ;)
--
Armin

Nov 20 '05 #5
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> schrieb

I can only say that [...]


You can only say but not only you can say... ;)
--
Armin

Nov 20 '05 #6
* "Armin Zingler" <az*******@freenet.de> scripsit:
I can only say that [...]


You can only say but not only you can say... ;)


Oh, sorry, I misread your post and thought you wrote that you could
/not/ repro it. My fault.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #7
* "Armin Zingler" <az*******@freenet.de> scripsit:
I can only say that [...]


You can only say but not only you can say... ;)


Oh, sorry, I misread your post and thought you wrote that you could
/not/ repro it. My fault.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #8
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> schrieb
* "Armin Zingler" <az*******@freenet.de> scripsit:
I can only say that [...]


You can only say but not only you can say... ;)


Oh, sorry, I misread your post and thought you wrote that you
could /not/ repro it. My fault.


ah, no problem! only wanted to get rid of this pun. ;)
--
Armin

Nov 20 '05 #9
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> schrieb
* "Armin Zingler" <az*******@freenet.de> scripsit:
I can only say that [...]


You can only say but not only you can say... ;)


Oh, sorry, I misread your post and thought you wrote that you
could /not/ repro it. My fault.


ah, no problem! only wanted to get rid of this pun. ;)
--
Armin

Nov 20 '05 #10

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

Similar topics

10
by: berg | last post by:
I'm trying to use the onload event to load a series of urls. What I find is that the onload function is only called one time no matter how large the array. Here is the onload function. var...
2
by: Bostonasian | last post by:
I am trying to append options to dropdown in parent window from option items in child window. In parent window, I have following code: <script language="javascript"> function...
10
by: Roland | last post by:
Hello, the example code is the following(the number in parentheses at the beginning are just for reference)(The complete HTML file is at the end of this article): (1)window.location =...
0
by: G.Ashok | last post by:
Hi, When MDI child window is initially shown it is displayed at the location determined by the windows - this is OK. But once the child is hidden using hide() method and showing it again it...
4
by: Tom | last post by:
I want to be able to 'make' a MDI Child Window appear at the same place in my MDI container. For example, maybe I want this Child window to always appear at Top=0 and Left=0; or, when the user...
2
by: TheITGuyFromNY | last post by:
To set this up, I have a parent window with a list of things (doesn't matter what they are, but they are loaded by the page dynamically from a database with ASP server-side script. So, next to each...
1
by: michal.podlewski | last post by:
Hi All, I have a problem with a simple (as I thought till now) thing: I want to make a link in a child-window which would change site in the parent-window and along with closing child window. The...
5
by: senort01 | last post by:
Hi, I spawn a window, process some information, and then issue opener.location.href to change the location of the parent information. I then close the child window. Works great. However, if...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.