Spanish B4J - Checkbox. Poner texto a la izquierda [Solucionado]

Dadaista

Active Member
Licensed User
Longtime User
Hola

¿Como puedo poner el texto de un checkbox a la izquierda del cuadradillo? He mirado este post pero no encuentro la propiedad orientacion en la ventana de diseño:eek:

Gracias
 

josejad

Expert
Licensed User
Longtime User
En el mismo post le indican al usuario que lo solucionó en otro post:

B4X:
Sub Process_Globals
    Private fx As JFX
    Private MainForm As Form
    Private CheckBox1 As CheckBox
End Sub

Sub AppStart (Form1 As Form, Args() As String)
    MainForm = Form1
    MainForm.RootPane.LoadLayout("1") 'Load the layout file.
    MainForm.Show
    Dim jo As JavaObject = CheckBox1
    jo.RunMethod("setNodeOrientation", Array("RIGHT_TO_LEFT"))
End Sub

'Return true to allow the default exceptions handler to handle the uncaught exception.
Sub Application_Error (Error As Exception, StackTrace As String) As Boolean
    Return True
End Sub
 
Top