Background:
I am creating an application in Ms-Access that is to be launched on a multi-user platform - This means many screens and many different resolutions etc.
Question:
Is it possible to have my application that automatically adjusts to the right size of the screen/resolution and the font size to be proportional to that of the % increased or decreased?
Similar to my answer here, yes, you can use the On Resize event of a form to move controls around, change the size of subforms, and perform other similar operations. Those adjustments are applied to each individual object, so the coding would be somewhat tedious and a bit "fussy", but it can be done (at least to some extent).
The font size will not automatically change based on screen resolution in any version of Access, but starting with Microsoft Access 2007 you can use new properties of controls to make them stretch, shrink or move based on the size of a form (described here)
Try using the VBA code in this answer to see if it gives you what you want. It works basically the way that Gord Thompson recommended. When the form is resized, all the controls and the text on the form will be proportionally resized too so that it looks the same no matter what size the window is, or what the user has their monitor resolution set to.
Related
I have always been mystified by how Access popup forms and reports seem to size themselves arbitrarily. Today, I discovered that the report I'm working on is actually sizing itself to match the visible design area of the report's design view. Detail fields are in tabular layout. Detail section is 0.2", report width is 3.5", and there is a small header and footer. Popup = Yes; Modal = No; Auto Resize = No.
When I drag the left border of the property box to increase the size of the property box, and then open in report view, this actually makes the report narrower! I know I can open in report view, resize the borders, and save. But whenever I open in design view again, the report size resets to the size of the visible design area.
I am not looking for a workaround (I already know I can resize programmatically). I want to know if there is a fix to the above behavior. Shouldn't it initially set the width to the Width property? And the height to the height of all rows plus header/footer height? Please tell me the above behavior is not by design.
Yes, that's by design, and why wouldn't it?
With Auto Resize = No, the size of the popup window will be the window size you saved in design view. What else could it be?
If you want the popup window size to adapt to the form/report width, set Auto Resize = Yes. That's the usual way to handle popups.
The height of popup continuous forms/reports will still be determined by the height you save in design view.
Thinking about it, you probably have "tabbed document windows" set in the Access Options for the current database. With this option, you don't really have much control over the window size in design view.
If you must have popups with Auto Resize = No, you probably should switch to "overlapping windows". (I don't know the exact option names since I have a German Access).
Normally, I would do it by embedding the website/webpage into an <iframe> and set a custom width and height. But for my purposes, the required page is secured against embedding into internal frame, as it should be.
But I would still like to be able to artificially expand my viewport without actually physically making the window larger than my screen - perhaps some way where the viewport just becomes larger and I can navigate using scrollbars. That's how it ought to work if the viewport is forced to be larger than the window - I think.
So, how would I go about doing this client-side? Currently, I use Firefox, so maybe there's some way to expand the viewport using Developer Tools or the Console, and such.
EDIT #1
I may have found a way. You can use the "Responsive Design View" part of the Developer Tools, and adding custom dimensions to get a larger viewport. This makes sense and it seems to work. But maybe there is a drawback or problem with doing this. Is this an okay method of artificially increasing viewport?
EDIT #2
The "Responsive Design View" tool on Firefox is capped at 10000x10000 viewport size. For what I want to do, I need to at least hit 20000x20000! So, I guess this doesn't work.
I' developing an access database, and I've tested it with different Access versions and different computers and everything worked well. Until by chance I found out that I get a problem with small screens, even when the have exactly the same resolution than my other screens. (Full HD Laptop screen) It seems to me that Access 'zooms' in at my forms. The forms look rather clumsy, and I get loads of errors because of form with (maybe the twips changed?). Fields, who can normally show a number, now show #### because of bigger font.
Is there an easy way to get Access showing the forms at the same scale?
(Also I found out that the Ribbon-Text is much smaller than the form text on this screen. On a normal screen it's not like that)
Thanks for your help!
Thanks for your help, found out that this is caused by the windows 'feature' text zoom. Disabling it solves the problem.
Is it possible to open a link in a new browser window on a secondary monitor connected to my PC using HTML5?
I don't think that it is possible to check if user are using multiple monitors but You may check the width of the user screen comparing to height. If it is bigger than 1.9 you can assume that he have two monitors. Then you could try to open second window with big left offset and there will be a chance that it will jump to second monitor.
i.e in case of two 1024x768 monitors the width is 2048. If you will open window on for example 1280 from left it should be on second screen. Of course user can have monitors of diffrent resolution so it may not work in every case.
And you can also check the width and position of the browser as it may help to identify where current monitor ends.
That's just the idea ofcourse, I never tested it.
I am developing a web-based menu application targeted solely for Mobile Safari on the iPad (in other words, I am not at all concerned about cross-browser compatability). I have a form select box which contains a number of options the user can choose from to modify their order, which when clicked displays on the iPad as follows: Screenshot
The problem is that this box is not wide enough to show the user the price or even the full name for several options. Smaller names is not a particularly attractive option in this case. Is there any way in which I can either a.) set the width of this box (doesn't matter if it's a Mobile Safari-specific solution!) or b.) make it so that the box grows wider to accommodate the widest option? I can find nothing on Google that deals with my question save for one forum thread with no useful answers.
Javascript is an option, if necessary.
Thanks!
To the best of my knowledge I believe UIKit entirely with the popup. The only advice I could suggest would be to implement it solely in JavaScript. I've had a quick Google and nothing is coming up that stands out as a existing one.