News:

SMF - Just Installed!

Main Menu

Changing the font size

Started by Schultz65, July 16, 2014, 03:00:59 PM

Previous topic - Next topic

Schultz65

Hello

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

Thank you very much in advance
Schultz

Administrator

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