Thursday, 30 April 2015

Learn Visual Basic 6.0- Working with Frame Control,Check Box and Option ...

Learn Visual Basic 6 0 Working with Frame Control,Check Box and Option Buttons -Quick and easy
(No Step is skipped while demonstration-Each Step is explained with quick notes )
Video demonstration is focused on following points:
1.How can you display a text while loading a form.
2.How can you insert Frame control in the form
3.How can add different checkbox  and option button controls into the frame.
4.How can you make them functional by writing the code into them.
You can work easily with such controls once you are able to find : how do they do it.
Watch this video and leave your comments for suggestions.
Subscribe to channel for find more interesting videos.




Source Code :
Private Sub ChkBold_Click()
If ChkBold.Value = 1 Then
TxtName.FontBold = True
Else
TxtName.FontBold = False
End If

End Sub

Private Sub Chkitalic_Click()
If Chkitalic.Value = 1 Then
TxtName.FontItalic = True
Else
TxtName.FontItalic = False
End If

End Sub


End Sub

Private Sub fntSize_Click()
If fntSize.Value = 1 Then
TxtName.FontSize = 12
Else
TxtName.FontSize = 8
End If
End Sub

Private Sub Form_Load()
TxtName.Text = "SANDEEP KAUNDAL"
TxtName.FontSize = 8

End Sub

Private Sub Opt1_Click()
Txtgen.Text = "Male"
Txtgen.FontBold = True

End Sub

Private Sub Opt2_Click()
Txtgen.Text = "Female"
Txtgen.FontBold = True
End Sub