473,657 Members | 2,414 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 9316
There are third-party tools to d
"Lauren Quantrell" <la************ *@hotmail.com> wrote in message
news:11******** *************@g 49g2000cwa.goog legroups.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******** *************@g 49g2000cwa.goog legroups.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.goo glegroups.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
23870
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 to use a database table but all I want to do now is to click a command button to display this access report. Any suggestions please ?????
11
2760
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 other. On my application startup, I configure the objects usting the RemotingConfiguration class to load the config file. Then I "ping" each of the objects to call their constructors. This all works fine if no one is attempting to connect at the...
1
2474
by: kristian.hermansen | last post by:
keherman@ibmlnx20:/tmp$ cat helloworld.py #!/usr/bin/env python import pygtk pygtk.require('2.0')
4
13841
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 and/or CSS and or Frames? Thanks in anticipation.
3
2299
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 screen for a pre-set duration? Sincerest Regards, AmySol
4
7021
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. I have opened the child.htm in a popup, so by opener.API the child.htm page can user the methodes which was defined in my API Obnject on (parent.htm). On my parent.htm, with i can edit, the called methode "sendValue" open a sync HTTPRequest and will...
6
1241
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 the preferred/best replacement for freeze on a *nix platform? I'm looking for something that, like freeze, turns my application into a single-file executable, of the smallest size possible, that can be executed on a machine with no Python
19
83721
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 involves databases that I created in Access 2002 (i.e. *.mdb files). What happens is when I open a form that has the border style property set to 'Dialog', Access 2007 is correctly preserving the size of the form itself (i.e. if you look in the...
0
8315
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8829
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8734
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8508
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8608
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7341
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5633
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
1962
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1627
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.