I have a code module (b4a) in which all the routines require variables of type B4XView as parameters.
This code module works well in b4a and b4j projects. I compiled the module to a b4a library.
Then I ran the same project (b4a) which used the code module, replacing the module with the library...
This library handles drag and drop of XUI views.
It is a simple library with few methods but it only serves to drag the space already indicated.
(required XUI 1.72+)
Good fun
SD_XUI_DragView
Author: Star-Dust
Version: 0.03
DragDropView
Events:
DragViewMoving (DragView As B4XView)...
Using the XUI views I realized the need to follow the events of Touch, Drag, Click and Release in a unique way. Required XUI 1.72+
In Android I would use this command:
Sub EventName_Touch (Action As Int, X As Float, Y As Float)
In B4J I would use this:
Sub EventName_MouseDragged (EventData As...
I created a class that changes the event View as a parameter by changing the view. This works well in B4A but does not work in B4J.
This is the code:
Sub Class_Globals
Private CallBack As Object 'ignore
Private EventName As String 'ignore
End Sub
'Initializes the object. You can add...
Originally posted a B4J/inline Java version of this in the B4J Code Snippets (https://www.b4x.com/android/forum/threads/image-to-jpeg-byte-array-with-resize-quality-options.91746/). @Erel pointed out though that the XUI library had the functionality that I was doing with Java, so I decided to...
How to set anti aliasing for B4XCanvas?
I tried this example:
https://www.b4x.com/android/forum/threads/b4x-xui-create-a-round-image.85102/
and the result is bad - both circle and image.
Dear B4Xers,
we need to create cross-platform UI; we need to work with sockets in the background also.
A typical example of our hypothetical application is an app where a disabled person "explores" an ever-changing UI that is dynamically generated to learn how to use different types of controls...
Hi all
I'm trying to dynamically create a number of tabs based on content from a SQLLite database. These tabs are then populated with data into XUI customlistviews and where I attempt to lazy load as per Erels guide here
Rather than hard code and use multiple designer created clvs and events...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.