Recent

Author Topic: VirtualTreeView inside a hided TabSheet  (Read 13060 times)

Shebuka

  • Sr. Member
  • ****
  • Posts: 422
Re: VirtualTreeView inside a hided TabSheet
« Reply #15 on: August 02, 2011, 10:21:13 am »
Try to put

Exit;

in the beginning of TBaseVirtualTree.MouseMove

There are some suspicious calls like UpdateWindow and InvalidateRect there
Nothing changed.

Also I'v tried to follow steps 1-4, then cmd+tab to lazarus and put breakpoint on TBaseVirtualTree.MouseMove, cmd+tab back to TabTest and as i move mouse over the area of hided tab sheet, the bug happens but TBaseVirtualTree.MouseMove was not called.
If i remove VST from form no bug.

It can be also that tab sheet tries to get last focus from his childs and VST gives him something wrong?
« Last Edit: August 02, 2011, 10:24:32 am by Shebuka »