On 10/28/2015 01:06 PM, Gabor Boros wrote:
2015.10.28. 11:51 keltezéssel, Zeljko írta:
Ok, then go to QtWSForms, TQtWSCustomForms.UpdateWindowFlags and comment
if csNoStdEvents ..... leave only
Flags := Flags or QtX11BypassWindowManagerHint;
in this case form will not take focus in any case, but must see what
happens with parenting (button is not visible because of this param I
guess).
Commented out "if csNoStdEvents..." line. Button not visible on form
with out without csNoStdEvents in ControlStyle.
Yes, QtX11BypassWindowManagerHint does strange things and that's not
documented in Qt :(
Really don't know how to achive that goal under X11. Tried pure Qt
application and have same problem. Shown form does not activate and
that's fine, but when I click on it then it activates :(
zeljko
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus