P
plangla
I am trying change the font size of text based on the menu item clicked. I
can not seem to get this statement to work.
Thanks in advance Perry
Private Sub MenuItem16_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MenuItem16.Click
Dim Width As Integer
Width = Screen.PrimaryScreen.WorkingArea.Width
If Width = 1024 Then SetSmallAFont()
ElseIf Width = 1280 Then SetSmallBFont()
Else
SetSmallCFont()
End If
End Sub
can not seem to get this statement to work.
Thanks in advance Perry
Private Sub MenuItem16_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MenuItem16.Click
Dim Width As Integer
Width = Screen.PrimaryScreen.WorkingArea.Width
If Width = 1024 Then SetSmallAFont()
ElseIf Width = 1280 Then SetSmallBFont()
Else
SetSmallCFont()
End If
End Sub