clase size-resize forms and objects (1 Viewer)

AngelMiguel

New member
Local time
Today, 08:03
Joined
Nov 2, 2018
Messages
11
Hello friends I have created a class to get the size of the screen, adapt the size of the forms and their objects to it at runtime, with the ability to remember the position on the screen and other things.

Eye ... that is in review.

It works for ms access 365, it works for me.

Check the references.

In evolution

Thanks to the professionals that are referenced.

It is manifestly improvable.

Feedback is appreciated

AngelMiguel ( España-Barcelona)


the thing...

drive.google.com/file/d/1VeQ-_3vdnQolZGgUgt4vr3tbQ7n2W2GN/view?usp=sharing
 

Attachments

  • Balances_Demandas_ResizeObjects_Ver15a.zip
    150.6 KB · Views: 90
Last edited:

isladogs

MVP / VIP
Local time
Today, 15:03
Joined
Jan 14, 2017
Messages
18,186
Hi Miguel?
Welcome to the forum.
I've moved your post as it was originally in a moderated area.
As a new member, you are not allowed to provide external links.
In any case, most forum members won't look at code/files hosted externally.

So please can you post the code here as an attached file.
As a new member you will need to zip it first.

Many thanks
 

isladogs

MVP / VIP
Local time
Today, 15:03
Joined
Jan 14, 2017
Messages
18,186
Thanks for posting your example here.

I've had a very quick look at this though not studied the code used.
Is it the same as the code you posted at UA a couple of weeks ago?

It would be helpful if you could provide an English version as the majority of forum members probably aren't fluent in Spanish. If that's not feasible, please at least provide some explanation of what this does and also how anyone would use it in their own applications.

I can see what the +/- buttons do but beyond that I can't see anything else happen.
On the mini form, I just get errors. Am I missing something?

Also as someone who regularly uses form resizing code by Jamie Czernak in my own apps, are you aware of his code and, if so, perhaps you could explain what yours does that his code doesn't

Many thanks
 
Last edited:

AngelMiguel

New member
Local time
Today, 08:03
Joined
Nov 2, 2018
Messages
11
Re: clase size-resize forms and objects , vers_15b

Regards,

Excuse me but my english is googleingles

What is the use of the utility that came with version 15b?

Based on the code of Markus Gruber (
github.com/GruberMarkus/modScaleForm/blob/master/modScaleForm.bas ) y Jamie Czernak and others, referenced in the code

- At the beginning of the application you get the size of the windows window and save the size in a custom property

- When you open any of the forms, compare the size of the form, and adapt the form and its controls to the windows dimensions, at run time.

-When you close the form you save in a custom property, one per form: last position of the form on the screen, the dimensions of it, the background color, font - etc etc.

The utility is in evolution and is clearly improvable.

Works for Access 365 in 32 bits

regards

AngelMiguel
Barcelona, ​​Spain
 

Attachments

  • Balances_Demandas_ResizeObjects_Ver15b.zip
    246 KB · Views: 95
Last edited:

Users who are viewing this thread

Top Bottom