473,479 Members | 2,115 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Restore only active window

reginaldmerritt
201 New Member
I have several forms which are all maximized by

Expand|Select|Wrap|Line Numbers
  1. DoCmd.Maximize
  2.  
I have another form which I want to open as a sort of pop up window. So I've set its Form_Load event procedure to

Expand|Select|Wrap|Line Numbers
  1. DoCmd.Restore
  2.  
However, this restores the maxmized form behind it as well.

Is there any way of just restoring the active form?
Or is there a way of setting a forms size?
(DoCmd.Movesize doesn't seem to work when DoCmd.Maximize has been used)

Thanks.
Aug 26 '10 #1
4 2915
reginaldmerritt
201 New Member
Solved. Well sort off.

One of the properties on a form is PopUp, when set to true this will restore the form and keep the other maximized.

However, apparently you can't delete records on a PopUp form

http://bytes.com/topic/access/answer...orm-not-others
Aug 26 '10 #2
missinglinq
3,532 Recognized Expert Specialist
However, apparently you can't delete records on a PopUp form...
Setting a form to Popup or Popup/Modal does not, in and of itself, prevent records from being deleted! The poster in the linked post has to have something else going on other than the form being set to Popup to cause the problem.

Linq ;0)>
Aug 27 '10 #3
reginaldmerritt
201 New Member
Thanks for the info. :)
Aug 27 '10 #4
NeoPa
32,556 Recognized Expert Moderator MVP
See the linked thread for the code Reginald, but fundamentally you'd need to have all restored, but resized to appear maximised (where in other circumstances you'd just maximise them).
Aug 27 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
10217
by: David C. Barber | last post by:
I'm having a problem knowing what is the current active window using VB6. Yes I can use the ActiveWindow property to determine what is my VB active window, HOWEVER, if the active window is some...
0
3039
by: offers | last post by:
I have tried searching for the past 3 hours (I'm probably just using the wrong search phrase) with no success. I wrote a program to run in the background. It generates data on a timer and I need...
0
1859
by: John | last post by:
How to detect when a document changes from being the active window(C#)?(Is there an event handler to detect when an active window changes?) My application is supposed to detect change in the word...
0
1184
by: Bobby Smith | last post by:
I wrote an application a little while ago that sent text to the active window by programmatically copying the text to the clipboard and then sending the WM_PASTE message or something along those...
3
9590
by: Dean Slindee | last post by:
I would like to capture a picture of the active window on the screen to use in an error routine. Like the following, which captures the entire desktop: Dim objRectangle As Rectangle =...
3
8105
by: Paweł S. Piotrowski | last post by:
Hello I'm writing some small application in C# just for my purpose. I want to change active window title. This feature was i.e. in foo_tbar.dll extension for foobar (music player) - when track...
1
2666
by: Steve | last post by:
I am trying to figure out how I can center and size a word application active window within my vb.net form when the word document is open using automation so that the word window doesn't extend...
4
1154
by: the tin man | last post by:
Hey i am having a problem with my program i want my program to think it is still the active window when another program folder etc is infact the active window or if this isnt possible how would...
2
5949
by: kimiraikkonen | last post by:
Hi, I need to show an active window's (form) size(width and height in pixels) in message box, however there are some low-level api calls in user32.dll but i don't know which function returns the...
2
7332
by: Prats | last post by:
MessageBox::Show(Window, String) How do I pass the value for the Window parameter, rather how do I get the value for the active window Also,there are two forms open at the same time, one...
0
7019
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,...
1
6719
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...
0
6847
tracyyun
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...
0
5312
agi2029
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,...
1
4757
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4463
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...
0
2970
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1288
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
166
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.