473,503 Members | 11,735 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Freeze the MS Access window size

Is there a way in code to freeze the size of the MS Access window or to
prevent it from being sized?
Thanks.
lq

Nov 13 '05 #1
7 9300
There are third-party tools to d
"Lauren Quantrell" <la*************@hotmail.com> wrote in message
news:11*********************@g49g2000cwa.googlegro ups.com...
Is there a way in code to freeze the size of the MS Access window or to
prevent it from being sized?
Thanks.
lq

Nov 13 '05 #2
There are third-party tools to dynamically re-size froms, but they can be
used in reverse to "lock" a size. However, you can simply set your forms'
Border Size property to "Dialog" ; this will prevent resizing from the
original design. Also consider the control buttons to Min/Max/Restore
window size, the AutoCenter and AutoResize form properties, and whether you
need Pop-up andor Modal properties.

You ask about the Access window, so not really sure what you're try to
accomplish. Most Access applications are a series of forms/menus, and the
developer determines what should be visible and where.
-Ed


"Lauren Quantrell" <la*************@hotmail.com> wrote in message
news:11*********************@g49g2000cwa.googlegro ups.com...
Is there a way in code to freeze the size of the MS Access window or to
prevent it from being sized?
Thanks.
lq

Nov 13 '05 #3
I am opening a dialog form (non-popup) maximized within the Access
application. I don't want the user to be able to size the Access window.

Nov 13 '05 #4
"Lauren Quantrell" wrote
I am opening a dialog form (non-popup)
maximized within the Access application.
I don't want the user to be able to size
the Access window.


That is not really user-friendly -- the "Windows Way" is to allow the user
to control his/her own desktop. There are occasionally, _compelling_ reasons
for not allowing that, but the reason should definitely be a _compelling_
one, not just a matter of developer preference.

Larry Linson
Microsoft Access MVP
Nov 13 '05 #5
AP
I know that it may not be '_user_friendly_' but if you need to do it,
one way is to make the border style thin and then on the on open event
of the form set docmd.maximize. You will probably also want to disable
the min and max buttons in the form properties as well. If you are
trying to control the sizing of the actual database window (shows your
table, queries and forms) I'm not sure if this is possible, but I would
suggest hiding the database window on open using the tools...startup

Nov 13 '05 #6
This is a non-popup form, maximnized within the MS Access database
window and what I want to do is prevent the user from sizing the MS
Access window hwile this form is displayed. The alternative is to make
it a popup form and hide the Access window entirely which is what I'll
do instead, unless there is a simpe code solution.

Nov 13 '05 #7
There is no simple code solution. You would have to subclass the main Access
App window.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Lauren Quantrell" <la*************@hotmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
This is a non-popup form, maximnized within the MS Access database
window and what I want to do is prevent the user from sizing the MS
Access window hwile this form is displayed. The alternative is to make
it a popup form and hide the Access window entirely which is what I'll
do instead, unless there is a simpe code solution.

Nov 13 '05 #8

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

Similar topics

3
23847
by: Nicola | last post by:
Hi Everyone, I am new to programming and would like to know how to open an access Report from within vb 6. I am trying to write a program to organise cross stitch threads. I have found out how...
11
2745
by: Timothy Shih | last post by:
Hi, I am having a freezing issue with my application. My application serves several remotable objects, all of which must be initialized before their use. Furthermore, some of them depend on each...
1
2461
by: kristian.hermansen | last post by:
keherman@ibmlnx20:/tmp$ cat helloworld.py #!/usr/bin/env python import pygtk pygtk.require('2.0')
4
13835
by: Roger Withnell | last post by:
I would like to freeze column and row headings on a webpage, simulating freeze panes as in an Excel spreadsheet. Don't seem to be able to do it with Frames. Is there a way with Javascript...
3
2296
by: coolsolap | last post by:
Hi, :) I have a program which I need to have temporarily freeze user input for about 8 seconds. Is there a method using JavaScript only to freeze the mouse-cursor in a invisible position on the...
4
7014
by: ToxSox | last post by:
Hello. This is my first post here and i have a big problem with my script! One page (child.htm), was delivered not by me and i can't change it. This page calls a methode in a object of my page....
6
1235
by: Mike Kent | last post by:
In a comment Guido made on a recent bug report for the 'freeze' utility, he stated: "I think nobody really cares about freeze any more -- it isn't maintained." That being the case, what is...
19
83645
by: sphinney | last post by:
My company is in the process of upgrading everyone to Access 2007. Since my machine was upgraded I've been highly frustrated with an apparent random behaviour byAccess that I can't understand. It...
0
7212
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
7296
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
7017
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...
1
5026
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
4696
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
3186
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1524
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 ...
1
751
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
405
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.