How to disable font auto-scaling?

J

Jonny P.

Hi,

I need to disable the font autoscaling in all controls in a form.

The form and controls size is already imutable.

I am not defining any font except for the base form.
The base form auto-generated code is:
'
'Form1
'
Me.AutoScale = False
Me.AutoScaleBaseSize = New System.Drawing.Size(6, 14)
Me.ClientSize = New System.Drawing.Size(727, 495)
Me.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.0!,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point,
CType(0, Byte))


Thanks in advance,

JP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top