[Lazarus] How to create a non focusable form?

Gabor Boros gaborboros at yahoo.com
Wed Oct 28 13:06:02 CET 2015


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.

Gabor




More information about the Lazarus mailing list