VB Prog3 Checkboxcontrol
VB Prog3 Checkboxcontrol
Source Code:
'Program to change the style of text in editor window according to styles selected from
checkboxes
Private Sub chkbold_Click()
If chkbold.Value = 1 Then
txteditor.FontBold = True
Else
txteditor.FontBold = False
End If
End Sub
Output:
Viva Questions:
1. For what purpose checkbox is used?
Ans: It is used to select multiple options.