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

My GUI don't fix…


Robsonct
 Share

Recommended Posts

I open the VB6 and edited my new GUI, I withdrew old pictures and put the new (and to adjust to the new pictures, I modified the width and height of the label), but after that compile and start the game, the menus are with the old pictures, as I solve this problem? :fart:

(Excuse my bad English)
Link to comment
Share on other sites

you have to delete some coding in each form…
it generally looks like this
```
Private Sub Form_Load()
    Dim i As Long
    Dim Ending As String
    For i = 1 To 3
        If i = 1 Then
            Ending = ".gif"
        End If
        If i = 2 Then
            Ending = ".jpg"
        End If
        If i = 3 Then
            Ending = ".png"
        End If

        If FileExists("GUI\CreateGuild" & Ending) Then
            frmGuild.Picture = LoadPicture(App.Path & "\GUI\CreateGuild" & Ending)
        End If
    Next i
End Sub

```delete that in the forms you have your custom gui's in, and it should show up fine..
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...