At 10:12 AM 8/17/2005, Stephen Markson wrote:

Is there a way to scale a form on the screen?

I designed my application to use 800x600 forms becuase most
users were using that resolution on their monitors.

Now one user has a high res monitor that is optimized for
(and running at) 1280x1024. Her application window used to
be 60% wider!


Stephen,

In a situation like that, based on the (CVAL('NETUSER'))
function, you may dynamically scale the form using the
CLIENTHEIGHT and CLIENTWIDTH properties of the form.

Refer to R:Docs (version 2.3 or higher) for complete details
and the syntax for PROPERTY and GETPROPERTY commands.

Option #2:

You may also use the PIXELSPERINCH nn and SCALED 'TRUE' or
'FALSE' properties of the form.

This will dynamically change the form screen pixels per inch
to scale the form accordingly.

Option #3:

Simply copy the form and then adjust the height/width of
the form along with all controls, etc. Then, use the NETUSER
function to bring up that duplicate form for that particular
user.

Very Best R:egards,

Razzak.

Reply via email to