Hey Guys,
I Have This Code For My Indent
VB Code:
Private Sub Image13_Click() Frame2.Visible = True End Sub
^^^^Above Is The Code Which Shows The Frame Called Frame 2 Which Has A Text Box(Called text1) And A Button (Called Command2),
VVVV Below Is The Code For The Frame
VB Code:
Private Sub Command2_Click() Dim indentamount As Integer indentamount = Text1.Text If indentamount >= 9000 Then MsgBox ("Number Must Be Under 9000") And "" End If RichTextBox1.SelIndent = indentamount Frame2.Visible = False End Sub
The Above isn't Right, because What it Should Do Is Make It So The User Can Choose The Indent Size.
and if the number inputted is MORE than 9000 it displays a MsgBox Saying "Number Must Be Under 9000" And Reset The Textbox but i can't get it to work
Can You help?
