Link to home
Start Free TrialLog in
Avatar of Eduardo Fuerte
Eduardo FuerteFlag for Brazil

asked on

Could you point how to automatically renderize the screen size when a VFP app starts?

Hi Experts

Could you point how (suposing it's possible) to automatically renderize the screen size depending
on customer monitor (12/ 15/ 21/... pol) when a VFP app starts?

Thanks in advance.
Avatar of ste5an
ste5an
Flag of Germany image

Wat?

There is no way to detect the screen size in a general way. Modern displays may transmit it. Some transmit the display model number, so you may use a service to look it up..

You may detect the screen resolution though using

? SYSMETRIC(1)         && returns the screenwidth
? SYSMETRIC(2)         && returns the screenheight

Open in new window

Avatar of Eduardo Fuerte

ASKER

Hi

What I get in the meanwhile.

Monitor configuration
"Wat?" meant to encourage you to rephrase and elaborate your question..
Really

vfp and multiple monitors (as found here after would be the correct formulation)
ASKER CERTIFIED SOLUTION
Avatar of Eduardo Fuerte
Eduardo Fuerte
Flag of Brazil image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Good solution while I've been out Eduardo!
Just remember high-res displays also cause report preview issues...

Hi Pavel

I thought you took a few days off!

You are very needed!

Thank you for your advice about reports.