[android customdrawn] TNotebook pages do not work
Original Reporter info from Mantis: BeniBela @benibela
-
Reporter name: Benito van der Zander
Original Reporter info from Mantis: BeniBela @benibela
- Reporter name: Benito van der Zander
Description:
The controls on the first page of a TNotebook work fine, but when another page is selected with notebook.pageIndex := .., the controls on that page cannot be clicked/selected/...
Also, if you go back to the first page, the controls there also do not work anymore
digging in the customdrawn source shows that lTarget := FindControlWhichReceivedEvent(AWindowHandle.LCLForm, AWindowHandle.Children, x, y); in customdrawnprivate.pas:155 returns the highest opened page itself as lTarget not the contained children. (i.e. as long as only page 0 was visible, it works; if page 1 was visible, only page 1 is the target, even if page 0 is selected again; if page 2 was visible, page 2 is always the target, even if ...)
(but the OnMouseUp event of the page also does not seem to be called)
Mantis conversion info:
- Mantis ID: 24365
- Build: 40899
- Version: 1.1 (SVN)