Joined
·
10,942 Posts
im a moron when it comes to Visual basic, so i hope you can help me out on this. :emb:
is there any way i can make these chain of instructions shorter?
If intAnswer = vbYes Then
lblMessage2.Caption = " "
txtMessage.Text = " "
optBlue.Value = False
optCyan.Value = False
optMagenta.Value = False
optGreen.Value = False
optRed.Value = False
optYellow.Value = False
chkBold.Value = False
chkItalic.Value = False
chkStrikethru.Value = False
chkUnderline.Value = False
End if
hope you can help me out on this.
:emb:
is there any way i can make these chain of instructions shorter?
If intAnswer = vbYes Then
lblMessage2.Caption = " "
txtMessage.Text = " "
optBlue.Value = False
optCyan.Value = False
optMagenta.Value = False
optGreen.Value = False
optRed.Value = False
optYellow.Value = False
chkBold.Value = False
chkItalic.Value = False
chkStrikethru.Value = False
chkUnderline.Value = False
End if
hope you can help me out on this.
:emb: