Thanks. It realy looked like it could work.. but somehow I get an error while using it.
Error message: "Expected function or variable"
anyone know why ?
here is the code that I use the function in
Code:
Select Case txtChatSend.Text
Case "?Connect", "?connect":
fraConnect.ZOrder = 0
txtChatSend.Text = ""
Exit Sub
Case "?Help", "?help":
rtfChatDisplay.Text = rtfChatDisplay.Text & "help is on its way..."
rtfChatDisplay.SelStart = Len(rtfChatDisplay.Text)
txtChatSend.Text = ""
Exit Sub
Case "?Clear", "?clear":
rtfChatDisplay.Text = ""
rtfChatDisplay.SelStart = Len(rtfChatDisplay.Text)
txtChatSend.Text = ""
Exit Sub
End Select
is there any problem using ZOrder in a case function?
Thanks.
-Lumin