MultiMedia Soft forum

MultiMedia Soft products => User interface components => Topic started by: Schultz65 on July 16, 2014, 03:00:59 PM

Title: Changing the font size
Post by: Schultz65 on July 16, 2014, 03:00:59 PM
Hello

How to write code for changing the font size of a Ctl3dPushButton in VB.net ?

Thank you very much in advance
Schultz
Title: Re: Changing the font size
Post by: Administrator on July 16, 2014, 03:06:38 PM
Hello  :)

You simply need to do something like this:



Dim nSize As Integer = 12
Dim font As Font = New Font("Arial", nSize)
Ctl3dPushButton1.FontCaption = font



where the variable nSize represents the size of the font.

If you should have any further question or doubt, please, let us know.

Kind regards


Quote from: Schultz65 on July 16, 2014, 03:00:59 PM
Hello

How to write code for changing the font size of a Ctl3dPushButton in VB.net ?

Thank you very much in advance
Schultz