2015.10.27. 16:16 keltezéssel, Zeljko írta:
csNoFocus does not work for Qt ? Can you provide example ? For Qt: before example try to include qt4 and qtwidgets into your unit and then in CreateWnd of your custom form (or after form handle is created) TQtMainWindow(YourForm.Handle).SetFocusPolicy(QtNoFocus); TQtMainWindow(YourForm.Handle).WindowArea.SetFocusPolicy(QtNoFocus);
WindowArea not exist, found ScrollAera which is TQtWindowArea type.But not have any effect for me. Example attached (without Qt and WMNCHitTest trick).
Gabor
Form_Focus.tar.gz
Description: application/gzip
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus