ricardosms's Profile User Rating: *****

Reputation: 73 Whiz
Group:
Author w/DIC++
Active Posts:
318 (0.19 per day)
Joined:
02-April 10
Profile Views:
21,634
Last Active:
User is offline Mar 22 2014 05:38 PM
Currently:
Offline

Previous Fields

Country:
PA
OS Preference:
Windows
Favorite Browser:
Who Cares
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
1200
Icon   ricardosms has not set their status

Posts I've Made

  1. In Topic: Calculate Area Of Polygons And Irregular Area

    Posted 9 Mar 2014

    Hey minnie mouse

    I'm sorry, I didn't log in for few months and I didn't see your post until now.


    What do you mean with the switch statement. Where are you on the code?
  2. In Topic: Adjust Control's Size/Position With Screen Resolution

    Posted 9 Mar 2014

    Hey.

    The font size is a read only property. You can't change it on runtime. If you want a different font or different size, you need to create a new font every time, like this:

    Dim FontName As String = "Arial"
    Dim FontSize As Integer = 14
    Dim FS As New Font(FontName, FontSize, FontStyle.Regular)
    Label1.Font = FS
    
    


    Due to the fact that the monitor display of your users could be of any size and any resolution choice, you can't have a single font. A workaround would be to create few fonts of the same style, but different sizes, and depending on your resizing ratio you could choose one of them. You could set an "if block" or a "select case block" and apply the new font, depending on the ranges.

My Information

Member Title:
D.I.C Regular
Age:
62 years old
Birthday:
November 2, 1952
Gender:
Location:
Canada
Interests:
Learning about anything.
Plant genetics and gardening.
Good food.
Giving precise instructions to the computer.
Full Name:
Ricardo A. Conte-Oro
Programming Languages:
Tried Fortran,Basic,Assembler,C,VB.
Never past the beginner's level.

Contact Information

E-mail:
Private

Comments

Page 1 of 1
  1. Photo

    ricardosms Icon

    12 Apr 2012 - 03:14
    It goes both ways.
    Thank you.
  2. Photo

    DimitriV Icon

    09 Apr 2012 - 20:23
    Excellent. You've helped me out a lot and showed me things I never thought I'd know.
  3. Photo

    ricardosms Icon

    08 Apr 2012 - 15:20
    Just learning, like everyone else
  4. Photo

    DimitriV Icon

    06 Apr 2012 - 21:43
    Skills bro. Knocking out heaps of awesome tutorials!
  5. Photo

    _HAWK_ Icon

    18 Oct 2011 - 19:48
    Where you been man!
Page 1 of 1