tufanv,
Thanks for your interest - I was aware of Klaus' beginners guide and had been thru it thoroughly some time ago.
I just went through it again - its section on B4A vs B4I doesn't cover the issue this thread is about.
If Klaus reads this, could I be so bold as to suggest the following enhancement (in red) to 11.2:
~~~~~~~~~~~~~~~~~~~~~~~~~
11.2 Panel
B4i
Panels don’t have a background bitmap.
But you can draw onto a Panel with a Canvas.
If a Panel, without event routines, covers other views the events are NOT submitted to the underlying views. In B4A they are!
If you want to submit them, you must set the UserInteractionEnabled property to False:
Panel1.UserInteractionEnabled = False
If a panel is disabled (UserInteractionEnabled = False) its child views are also disabled regardless of the UserInteractionEnabled setting you apply to the child view.
Transparent panel: Background: Color.Transparent Alpha = 1
B4A
Panels have a background bitmap.
It is also possible to draw onto a Panel with a Canvas.
If a Panel, without event routines, covers other views the events ARE submitted to the underlying views. In B4i they are NOT!
To avoid this, one solution is to add an empty event routine.
If a panel is disabled (Enabled = False) its child views can be disabled or enabled, depending on the Enabled setting you apply to the child view.
Transparent panel: Background: Color.Transparent Alpha = 0
~~~~~~~~~~~~~~~~~~~~~~~~~
This all assumes my discovery is correct...