Android Question SD B4XTree Lib and MYPOPUP Lib usage

mike1967

Active Member
Licensed User
Longtime User
Hello, is possible to use MYPOPUP library with the SD B4XTree lib in order to show popup when the user long click on a Leaf ?
like :
B4X:
popupmenu.show("Current view of B4XTree")
Thanks in advances
 

Star-Dust

Expert
Licensed User
Longtime User
It should work. But you should try and possibly if you have problems ask the question. the code should look like this roughly
B4X:
Private Sub TreeList1_LongRightClick (IDLeaf As String, LeafName As String)
popupmenu.show("Current value of  leaf " & LeafName)
End Sub
 
Upvote 0

mike1967

Active Member
Licensed User
Longtime User
It should work. But you should try and possibly if you have problems ask the question. the code should look like this roughly
B4X:
Private Sub TreeList1_LongRightClick (IDLeaf As String, LeafName As String)
popupmenu.show("Current value of  leaf " & LeafName)
End Sub

popupmenu.show require a view as parameters . How i can with SD B4XTree ? Thanks in advance
 

Attachments

  • popupmenu.png
    popupmenu.png
    4.1 KB · Views: 118
Upvote 0

Star-Dust

Expert
Licensed User
Longtime User
Do you want to make a view appear inside the leaf box?
This is not possible, sorry. Interior views are not public. You can put as a view the panel to which the TreeList is anchored
 
Upvote 0
Top