Wow…
Its basically not that complicated, BUT…
It would require not only changing the font size, but also resizing and moving
all objects accordingly.
Again technically quite simple…
Resize: 125%
for each object
get coordinate, multiply with 1.25 and set then move object,
set font to size*1.25
Furthermore you will have to adjust the dimensions of the form, as well as of
the window, unless your form has scroll bards for both directions (which IMHE
user hate…).
GET WINDOW RECT, SET WINDOW RECT, etc.
It gets funnier once subforms are involved )
But again, just a recursive call (EXECUTE METHOD IN SUBFORM)
Also make sure you do it for all form pages.
Might write this in the next few days and post it on my BLOG...
If your form window already fills the screen, it would overflow and make
scrolling necessary, something that is AFAIK not possible with DIALOG, only
with MODIFY and ADD.
Both are regarded as obsolete.
So before doing it you must check if the result will overflow the available
screen space.
Cheers
Alex
> Am 01.05.2019 um 06:09 schrieb Chip Scheide via 4D_Tech
> <[email protected]>:
>
> I have code to resize the font in a listbox/listing form.
>
> I was wondering if there anyone has code they would share to resize all
> text on an entry form? something like command/control + (or -) on a
> web page.
>
> Thanks
> Chip
> ---------------
> Hell is other people
> Jean-Paul Sartre
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> Archive: http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub: mailto:[email protected]
> **********************************************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************