[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Opacity not working in Form_Open (gtk)


odd.  suddenly setting something like Me.Opacity = 85 in Form_Open has
stopped working.

seems to work okay if using it in Form_Show()

But also it seems if you have set it in Form_Open then set it again in
Form_Show it does not change (i guess because it's already 85 but showing
solid)

that's with gtk3

qt is having other problems with setting Form.Opacity on program load.
it does not set in Open or Show.
well it does not show, seems it sets to 1 less than the chosen value.
Ie..
Me.Opacity = 85
Print Me.Opacity
shows 84 value but object is still solid.
I can set manually only be doing this...

Public Sub btnSetOpacity_Click()

  Me.Opacity = 100
  Me.Opacity = 85

End
then qt shows opacity (albeit 84, 1 value less than chosen)

Respects
BruceS

Follow-Ups:
Re: Opacity not working in Form_Open (gtk)Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>