473,385 Members | 1,337 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,385 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 1432
"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: 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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.