473,947 Members | 17,483 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Size screen

How do I know the width and the height of the access screen? This is
to place forms in the right place and covering the whole screen.
thanks.
--
bebelino
Nov 12 '05 #1
9 8730
Not knowing what screen resolution you are using . . .

Create a rectangle on a form and make it the size you want it to occupy on
the screen, then open its property sheet and check the Width and Height
properties.

Nigel

"bebelino" <a.*@c.d> wrote in message
news:ev******** *************** *********@4ax.c om...
How do I know the width and the height of the access screen? This is
to place forms in the right place and covering the whole screen.
thanks.
--
bebelino

Nov 12 '05 #2
Look at

http://www.mvps.org/access/api/api0022.htm

Terry
"bebelino" <a.*@c.d> wrote in message
news:ev******** *************** *********@4ax.c om...
How do I know the width and the height of the access screen? This is
to place forms in the right place and covering the whole screen.
thanks.
--
bebelino

Nov 12 '05 #3
On Fri, 12 Sep 2003 11:04:55 +0100, "Nigel Lawrance"
<na*@exeter37.f reeserve.co.uk> wrote:
Not knowing what screen resolution you are using . . .

Create a rectangle on a form and make it the size you want it to occupy on
the screen, then open its property sheet and check the Width and Height
properties.


Yes, but I want to know it programmaticaly .
thanks
--
bebelino
Nov 12 '05 #4
On Fri, 12 Sep 2003 12:03:18 +0100, "Terry Kreft"
<te*********@mp s.co.uk> wrote:
Look at

http://www.mvps.org/access/api/api0022.htm


Many thanks, It's working.
best regards,
--
bebelino
Nov 12 '05 #5
On Fri, 12 Sep 2003 12:03:18 +0100, "Terry Kreft"
<te*********@mp s.co.uk> wrote:
Look at

http://www.mvps.org/access/api/api0022.htm

Terry


Still one question. They say you should take a small-offset so that
the scrollbars don't appear on the main MDIform. On one computer
everything is allright. When transfering it to another computer the
scroll-barrs do appear and I need change the small-offset number to a
greater one. Do you have an answer to this one??
thanks,
--
bebelino
Nov 12 '05 #6
On Fri, 12 Sep 2003 15:44:38 GMT in comp.databases. ms-access, bebelino
<a.*@c.d> wrote:
Still one question. They say you should take a small-offset so that
the scrollbars don't appear on the main MDIform. On one computer
everything is allright. When transfering it to another computer the
scroll-barrs do appear and I need change the small-offset number to a
greater one. Do you have an answer to this one??
thanks,


Does the other PC have "Large Fonts" in Windows? That tends to screw
things up as at 1024x768 with large fonts you have about the same
screen real estate as 800x600 with normal fonts. If this is the case
you have about 3 choices, either cater for it in your program,
encourage the user to go to a lower resolution and normal fonts or
else get them to re-visit their optician and get a better pair of
bins.

--
A)bort, R)etry, I)nfluence with large hammer.

(replace sithlord with trevor for email)
Nov 12 '05 #7
On Fri, 12 Sep 2003 21:44:37 +0100, Trevor Best <bouncer@localh ost>
wrote:

Sorry for my late reaction and thanks for yours.
No, it's not a problem with font sizes.
It's just when I'm setting the forms to the size the Access-MDI-form
has, sometimes the scrollbars appear on the Access-MDI and sometimes
they don't. Off course I want them not to appear because they take
away a bit of the actual form shown. I tried also a small offset. By
this I mean that I make the form a bit smaller than the actual size of
the MDI.
I think the problem has got something to do with the access-toolbars.
But I don't know how to solve it.
Does the other PC have "Large Fonts" in Windows? That tends to screw
things up as at 1024x768 with large fonts you have about the same
screen real estate as 800x600 with normal fonts. If this is the case
you have about 3 choices, either cater for it in your program,
encourage the user to go to a lower resolution and normal fonts or
else get them to re-visit their optician and get a better pair of
bins.


If I ever come around this problem I will advise the better pair of
bins ;-)
thanks,
--
bebelino

Nov 12 '05 #8
On Mon, 15 Sep 2003 22:14:35 GMT in comp.databases. ms-access, bebelino
<a.*@c.d> wrote:
On Fri, 12 Sep 2003 21:44:37 +0100, Trevor Best <bouncer@localh ost>
wrote:

Sorry for my late reaction and thanks for yours.
No, it's not a problem with font sizes.
It's just when I'm setting the forms to the size the Access-MDI-form
has, sometimes the scrollbars appear on the Access-MDI and sometimes
they don't. Off course I want them not to appear because they take
away a bit of the actual form shown. I tried also a small offset. By
this I mean that I make the form a bit smaller than the actual size of
the MDI.
I think the problem has got something to do with the access-toolbars.
But I don't know how to solve it.


This may help.

Function NoToolBars()
Dim cb As CommandBar
On Error Resume Next
For Each cb In Application.Com mandBars
Debug.Print cb.Name
cb.Visible = False
Next
End Function

--
A)bort, R)etry, I)nfluence with large hammer.

(replace sithlord with trevor for email)
Nov 12 '05 #9
On Tue, 16 Sep 2003 08:39:46 +0100, Trevor Best <bouncer@localh ost>
wrote:
Function NoToolBars()
Dim cb As CommandBar
On Error Resume Next
For Each cb In Application.Com mandBars
Debug.Print cb.Name
cb.Visible = False
Next
End Function


Why didn't I come up with that one ;-)
Nice, I think I can solve the problems now.
thanks,
--
bebelino
Nov 12 '05 #10

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

Similar topics

48
8743
by: David J Patrick | last post by:
I'm trying to rewrite the CSS used in http://s92415866.onlinehome.us/files/ScreenplayCSSv2.html. using the w3.org paged media standards as described at http://www.w3.org/TR/REC-CSS2/page.html The ScreenplayCSS is flawed, for several reasons; -overuse of <div id= tags -doesn't scale screen resolutions (convert from px to in, pt ?) -no media="print" (how much coule be shared between "screen" & "print") -no automatic page breaks (with...
9
7721
by: Peter | last post by:
Hi at all, how can I do to make a css file to change automatically the text size of the text that is into a table relatively the screen size? I.E. if the screen is 800 x I want the text size=10pt but if it is 1024 I want the text size =12 pt. Thank in advance Peter
4
1687
by: Darren | last post by:
hi all. probably a trifle put google didn't tell me much. I notice there are size units such as 'pt' and 'px'. is there one that will position the same regardless of browser size, screen resolution, browser type? Thanks
3
1705
by: RayKnight | last post by:
Is there a way to resize the DOS size screen? I'm doing a game, and I thought maybe when the game starts, the screen will change or adjust to a certain size? Like an example would be in Visual Basic, we'd have Form1.Height = 5000 So would there be any command where I can use on my C++ Compiler to adjust the size of the window for DOS? Please enlighten me, thank you.
7
9975
by: Robert Bull | last post by:
I have created an asp.net app on my machine where the resolution is set to 1280 x 1024. When my users view the form on their screen, some of the controls display differently than on my screen. One solution I have is to use some javascript to determine the resolution of their screen and redirect them to a duplicate form suited better for their resolution but I would have to maintain multiple forms. Anybody know of a better way to handle...
4
1858
by: UJ | last post by:
I have a client who wants me to make a web page with a marquee on it. No problem. They want the text to be easily changeable. No problem. They want it so that the text will appear about the same size regardless of the screen resolution. Now that's my problem. In a sense, they want it so that if the screen is 800x600 and the text would be 1" tall, and then they make the screen 1600*1200, they still want the
3
1180
by: Franck | last post by:
Hello, In asp .net is there any way of resizing the component second the screen resolution? If not is there any workaround? thank you Franck
14
4048
by: Roger Withnell | last post by:
How to I find out what size text the browser is set to? Thanks in anticipation.
14
3449
by: Galen Somerville | last post by:
My current screen resolution is set to 1024 x 768. My form size always comes up as 1032 x 748. I have tried the help sample ' Retrieve the working rectangle from the Screen class ' using the PrimaryScreen and the WorkingArea properties. Dim workingRectangle As System.Drawing.Rectangle = _ Screen.PrimaryScreen.WorkingArea ' Set the size of the form slightly less than size of
0
9982
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
11159
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
11346
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
10690
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
9887
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...
1
8254
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7429
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();...
0
6114
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...
2
4537
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.