qt: add verbose define VerboseTabbedControls to check controls that get focus by Tab reason (qt reason not LCL)

git-svn-id: trunk@12272 -
This commit is contained in:
paul 2007-10-01 13:29:32 +00:00
parent 283d4b2223
commit 3944285bc5

View File

@ -249,6 +249,9 @@ begin
if QWidget_focusPolicy(QWidgetH(Sender)) = QtTabFocus then
begin
// remove tab from focus policy
{$ifdef VerboseTabbedControls}
WriteLn('found Taabed widget ', PtrInt(Sender));
{$endif}
QWidget_setFocusPolicy(QWidgetH(Sender), QtClickFocus);
QWidget_setFocus(FOldFocusWidget);
end