Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Screen Resolution 2

Status
Not open for further replies.

fileman1

Technical User
Feb 7, 2013
152
GB
After all this time, and all money spent on versions, Access still does not cater to different screen resolutions.

I have to do a form for someones laptop, 1366x768. My laptop is 1280x768. They also have a PC for which I cannot match resolution.

Is it feaseable to have a popup full screen form that has command buttons allowing the user to move 4 boxes to the extreme corner positions, and saving their positions in a table. I can then get it back and use as a template. Would it work?

 
There are a number of free screen resizing utilities available for MS Access. You can also try code something like:

Code:
Private Sub Form_Resize()
[COLOR=#4E9A06]    'Assumes a rectangle control named boxFull[/color]
    Me.boxFull.Top = 0
    Me.boxFull.Left = 0
    Me.boxFull.Width = Me.InsideWidth
    Me.boxFull.Height = Me.InsideHeight
    Dim strSQL As String
    strSQL = "INSERT INTO tblYourTable(...) VALUES (....)"
    CurrentDb.Execute strSQL, dbFailOnError
End Sub

I had the scroll bars, record selector, and navigation turned off.

Duane
Hook'D on Access
MS Access MVP
 
Thanks Duane, looks a good way to do it, however I know it's not good to have so many controls on a form, but I have. The thought of entering every single position relative to either another control or form dimension would take so long?
Just surprised Microsoft knowing the problem all this time has not built something in.
I did look around for freeware solutions but only came across Peters purchasable Software. I just guessed If I had some visual guide of how dimensions could be then I would bite the bullet and rescale everything manually. Regards
 
Creating Forms based on the lowest resolution likely to be used is the best policy, as Duane suggested, even if you plan to use a re-sizing hack. All such utilities that I've come across say, in their instructions, that they work best when up-sizing to greater resolutions than in trying to down-size.

Here's a link to one such utility that I've used, without problems, for a number of years:

Form Resizer

It's a shareware program, with the authors simply asking for a $5 or $10 donation, if you find it of use.

The Missinglinq

Richmond, Virginia

The Devil's in the Details!
 
Many thanks, that looks worth trying. Sorry to Duane delay coming back, only just come back on forum.
So thanks both, I will try that out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top