Android Question B4X Draggable View

LucaMs

Expert
Licensed User
Longtime User
Which one of you ? will create a draggable B4X View (B4XLib)?
A simple pane(l) that can be dragged fluidly, not as it is possible to do with the Touch event, which is cross-platform?

It doesn't seem to me that it already exists, or am I wrong?
 

Xfood

Expert
Licensed User
Good morning Luca
are you referring to something similar?

 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
Good morning Luca
are you referring to something similar?

'morning.

No, just a draggable panel, cross-platform custom view.
It would be useful as a basis for movable dialogs.
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
I believe it's just a matter of placing a transparent pane over the dialog, and "listen" to a touch-hold event, maybe by using a timer, to allow for dragging, if it's a short touch, the retur false to passe it to the underlying views
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
It would be useful as a basis for movable dialogs.

a draggable B4X View
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
I believe it's just a matter of placing a transparent pane over the dialog, and "listen" to a touch-hold event, maybe by using a timer, to allow for dragging, if it's a short touch, the retur false to passe it to the underlying views
What I'm referring to is a movable panel, a custom view that I would place on a full-screen semi-transparent panel.
To be more clear, like the B4XDialog, which I suppose has its own basic panel, but the user can't move it.
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User


For the moment I have not downloaded it but "AS MsgBox/Dialog" seems like what I intended, albeit more advanced. I'll let you know.

Thank you.
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
For the moment I have not downloaded it but "AS MsgBox/Dialog" seems like what I intended, albeit more advanced. I'll let you know.
I downloaded it (and the B4J example, which requires the class, not present in the project; I imported the library and you have to change the line "ASMsgBox1.InitializeWithoutDesigner...").

Donation more than deserved (and done, obviously).
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
I downloaded it (and the B4J example, which requires the class, not present in the project
The message comes in every example project of mine, because when I upload the example project I have previously used the .bas files, but the example projects can then be used with the .b4xlib, you just have to hook the b4xlib in the manager.

Thank you very much
 
Upvote 0
Top