I'd like to set the width & height properties of my controls, in ( Pixels or twips ), rather than cms, so that they adjust proportionally according to the size/dimension of the screen, my form loads in. I know in the property sheet, you can only set the measurement in cms. However in vba, at run-time, these properties are set in either twips or pixels ( not sure which ). So my code might look like ...
I believe there are 1440 twips per inch, and 2.54 cms. per inch. More importantly, do the number of twips change dependent on, and relative to the screen dimension - or is it pixels ? If so, in theory, this should work. Any help appreciated.
MyCtl.Width = (MyCtl.Width/2.54) * 1440