473,387 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 8708
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.com...
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.com...
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.freeserve.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*********@mps.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*********@mps.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@localhost>
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@localhost>
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.CommandBars
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@localhost>
wrote:
Function NoToolBars()
Dim cb As CommandBar
On Error Resume Next
For Each cb In Application.CommandBars
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
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 ...
9
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...
4
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...
3
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...
7
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...
4
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...
3
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
by: Roger Withnell | last post by:
How to I find out what size text the browser is set to? Thanks in anticipation.
14
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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...
0
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,...

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.