Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Getting the txtchat_gotfocus error


NettoSaito
 Share

Recommended Posts

File: frmMirage.frm
Procedure: txtChat_GotFocus
Error #5
Description: Invalid procedure call or argument
–---------------

I don't get why I'm getting this now. I mean it's been like what...3 or 4 years and I've gone with out a single error? I mean I've had a few but never any that kept me from logging in like this.

Any idea how to fix this? I've already reinstalled the library files just to make sure that they were still working, but that didn't work. Members are logging into the server so I know it's not a server problem.

Whats up with this?
Link to comment
Share on other sites

This is probably a bug… try replacing this (in the client, of course):

```
Private Sub txtChat_GotFocus()
    On Error Resume Next

    frmMirage.txtMyTextBox.SetFocus
End Sub

```
With:

```
Private Sub txtChat_GotFocus()
    On Error Resume Next

    frmMirage.SetFocus
    frmMirage.txtMyTextBox.SetFocus
End Sub

```
And see if that fixes it.

**EDIT:** This happens when you log into the game client?
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...