Hi again,
would appreciate any assistance with getting forms to view at the correct size. (Win XP Pro SP2, MS Access 2003)
I have a tabbed form that I open in Maximized view and that's the way I want it to.
I also have another form that I do not wish to have open Maximized, yet every time that other form opens it is in maximized view.
How can I make it so that it will open at the size I created it rather than maximized please?
I have seen a few articles refering to the Win API but is there any other way as the API is way beyond me. It would seem to me that there should just be properties such as width, height etc that you could set via code, but as yet I have not come across much.
I did try entering height and width values but when the form opened it still just opened maximized.
My screen resolution is at default for the panel of 1400 X 1050 and I have large fonts enabled 120DPI (125%, as the screen is physically small for such high resolution).
Thank you in advance for any assistance or pointers.
3 2598 NeoPa 32,569
Recognized Expert Moderator MVP
Call DoCmd.Restore
and
Call DoCmd.Maximise
are the commands you need. In the OnOpen event of the form should do you.
Whoops Sorry everyone!!!
I just searced this site and found an answer that works for me on this discussion:
Re: Form Size (But not DoCmd.Maximize / Minimize)
i.e. set pop-up property to Yes in the forms design view.
So thanks for providing such a great site!!
Hi again,
I would appreciate any assistance with getting forms to view at the correct size. (Win XP Pro SP2, MS Access 2003)
I have a tabbed form that I open in Maximized view and that's the way I want it to.
I also have another form that I do not wish to have open Maximized, yet every time that other form opens it is in maximized view.
How can I make it so that it will open at the size I created it rather than maximized please?
I have seen a few articles refering to the Win API but is there any other way as the API is way beyond me. It would seem to me that there should just be properties such as width, height etc that you could set via code, but as yet I have not come across much.
I did try entering height and width values but when the form opened it still just opened maximized.
My screen resolution is at default for the panel of 1400 X 1050 and I have large fonts enabled 120DPI (125%, as the screen is physically small for such high resolution).
Thank you in advance for any assistance or pointers.
Thanks NeoPa
I'll try that too. I knew about DoCmd.Maximize but have never run across DoCmd.Restore.
Again many thanks.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: *no spam* |
last post by:
I want to move my Access 2K database into MSDE. The Access Upsizing
Wizard crashes (a known bug wi A2K), so I'm using the following
suggested method:
Access --> New --> Project (Existing Database)
This asks for the name of the .adp file to create and then launches
into the Data Link Properties dialog box (so far so good) I select my
MSDE server from the drop-down, enter the sa account & passwd, attach
a database file and try to...
|
by: soup_or_power |
last post by:
The pop up window has several checkboxes. I'm unable to access the
checkboxes using the handle from window.open. Any way to do this?
var display;
function showSugg(but_id, sugg1, sugg2, sugg3, sugg4, sugg5) {
display=window.open('','_blank','menubar=0,location=no,status=no,directories=no,toolbar=no,scrollbars=yes,height=150,width=190')
|
by: nospam |
last post by:
Am I trying to do something that is impossible with access 97?
I want to write an address book application.
I have exported (from a Casio BOSS organiser) all my contact information
and it is now in a file called addresses.mdb I can edit this file using
the tables and forms in access.
But I want a stand alone application.
|
by: Megan |
last post by:
Hi-
I'm creating a database of music bands with their cds and songs.
I'm trying to program an SQL statement so that I can enter a string of
text in a textbox, press the 'Enter' key, and have it return the
associated records to a listbox. Once the listbox has the records, I
want to select a record, which will open a form associated with the
selected record in the listbox.
|
by: Andrew Dowding |
last post by:
Hi Everybody,
I have been looking at problems with my Windows Forms C# application
and it's little Jet 4 (Access) database for the last few days. The
Windows Forms app implements a facade and implementation, data
abstraction layer. But because each data adapter in the implementation
layer has a connection object that opens and closes as needed, I found
I got several errors from the Jet engine when there were simultaneous
connections to...
| |
by: Chris Calzaretta |
last post by:
From: "Chris Calzaretta" <ccalzaretta@hotmail.com>
Subject: Re: Is It Possible?
Date: Friday, February 04, 2005 11:44 AM
Ok i am posting the code
I need to create a form from this web service
http://24.163.239.122/wsprojecttrackerobjects/wsprojecttrackerobjects.asmx
if you call getloginscreen there is a field called screendecription
that field screendecription has the form code I am trying to create at
runtime
|
by: =?Utf-8?B?UmF5IE1pdGNoZWxs?= |
last post by:
Hello,
I know I sound like a one-note Johnny on this but I'm still looking for a
solution. I need to display characters coming in from a serial port or a
socket. I also need to be able to type characters into the display myself -
but that's not the main issue at this time. I've tried a scrolling multiline
text box but once the original viewable area fills up and it starts scrolling
the flashing of the entire area drives me nuts. The...
|
by: Robert S. |
last post by:
Searching some time now for documents on this but still did not find
anything about it:
Is it possible to replace the entry screen of MS Office Access 2007 -
that one presenting that default 'templates' (with that big graphic
buttons) - with some sort of own HTML-Page? I could imagine, that
somehow it is possible to change this construction (hopefully not
hardcoded in MS-Acc07), like it is possible to edit the 'Fluent Ribbon'?
If so...
|
by: Gloops |
last post by:
Hello everybody,
Is anyone able to give me some indications about how to develop an
Access interface for an Oracle database ?
I dispose of Access 2003 (11.6566.8107) SP2, Oracle 9i 9.2.0.1.0 and
ODBC 3.525.1117.0, on Windows XP Pro 5.1.2600 SP2 Nu 2600.
I failed executing an Oracle stored procedure from Access, and a trigger
to store data to a temporary table was active from SQL*Plus, but
|
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,...
|
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...
| |
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,...
|
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();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |