Using vb. I'm trying to use the text of a combobox as the value of my font size. Means, as a user, I can choose which font size I'd like to have by clicking it out of the dropdown menu.
Private Sub ComboBox1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles ComboBox1.SelectedIndexChanged
Now the chosen option should affect the font size. But therefore, I need to convert from string to size. Anyone any help?
Also I could imagine there's a more efficient way to give a user the opportunity to change the font size. Any tips and advise is welcome!