How to fix a form's client window in pixels?

Hi,

I want my main form's client window (i.e. the part without menu, title bar, ...) to be fixed 1024x768 pixels. I'm stuck in scale modes, twips, pixels, scaleX, ...

This can't be that hard, can it?
LVL 2
SLEAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
TimCotteeConnect With a Mentor Commented:
The width values for 1024x768 are

height = 11520
width = 15360

With scale mode set to twip, the scaleheight/scalewidth are 11115,15240
0
 
SLEAuthor Commented:
What's the conversion rule?

Thx again.
0
 
TimCotteeCommented:
Basically it is 1440 twips per inch. Or 20 twips per point. Or another way, 15 twips per pixel.
0
All Courses

From novice to tech pro — start learning today.