Hello
I'm trying to get the calling view upon selection of a context menu entry
Context menu(from the editor):
Called sub:
I know i can store info in the "tag" field, but i have a complicated layout with many runtime generated views, so i was hoping to the the caller view (the one i right-clicked on) and then go up the tree with .parent to update the holding panels.
Is it even possible?
Thanks!
I'm trying to get the calling view upon selection of a context menu entry
Context menu(from the editor):
B4X:
[
{
Text:"Detailed Info",
EventName : "ShowDetailedInfo"
}
]
Called sub:
B4X:
Private Sub ShowDetailedInfo_Action
Dim mi As MenuItem = Sender
End Sub
I know i can store info in the "tag" field, but i have a complicated layout with many runtime generated views, so i was hoping to the the caller view (the one i right-clicked on) and then go up the tree with .parent to update the holding panels.
Is it even possible?
Thanks!