i hv to make this vb prgm in which i hv to place font size and type in 2 different text boxes according which date which is displayed on label gets changed accordingly
someone told me following coding but there is some error and i cant solve it
Private Sub Command1_Click()
Dim aa As String
Label1.Caption = " 19 march 2007 "
Label1.FontSize = Val(Bold.Text)
aa = Text2.Text
If aa = "bold" Then
Label1.Font.Bold = True
Label1.Font.Italic = False
ElseIf aa = "italic" Then
Label1.Font.Italic = True
Label1.Font.Bold = False
Else
Label1.Font.Bold = False
Label1.Font.Bold = False
End If
End Sub
Private Sub Command2_Click()
End
End Sub
Private Sub Command3_Click()
Label1.Caption = ""
End Sub
2007-03-19
03:17:19
·
3 answers
·
asked by
parwan005
1
in
Computers & Internet
➔ Programming & Design