nivolas
nivolas

Reputation: 317

Inconsistency with control location and control appearance

I have my "about" form looking like this on my computer (Win7 32 bits) and in the IDE This is my "about" windows

And on at least one PC (under Win7 64 bits), it looks like that : This is my about on Win7 64 bits

2 questions about this :

A bit of information : My buttons are inside a "Frame" control. This frame control is supposed to be 840 twips (VB6 unit...Why couldn't they use pixel?!) from the left and 525 from top. My labels are not inside anything.

Thank you.

Edit : the only code managing the windows is in the form_load. FraAbout is containing the buttons you see above, FraSplash contains a progressbar. The ZOrder make buttons always appear on top.

Private Sub Form_Load()

On Error Resume Next

Timer1.Enabled = False
LblRevision = App.FileDescription

SendMessage pb1.Hwnd, PBM_SETBARCOLOR, 0, ByVal RGB(114, 191, 68)

FraAbout.Visible = False: FraSplash.Visible = False

    Me.ForeColor = 0: Me.DrawStyle = 0: Me.BorderStyle = vbFixedSingle: Me.Refresh

If AppLoaded Then
    FraAbout.Visible = True
Else
    t = 0: pb1.value = pb1.min: FraSplash.Visible = True: Timer1.Enabled = True
End If

End Sub

Upvotes: 0

Views: 51

Answers (1)

nivolas
nivolas

Reputation: 317

This all came from... my configuration panel. Here is how to fix the problem if you have it. I was at 125, just put it back to 100 : enter image description here

Upvotes: 0

Related Questions