Hi to all
How I can change from code a B4XFloatTextField control to work as a normal TextField or PasswordField?
How I change the size and the position of the Button for B4XDialog?
The "Cancel" button does not show all the Text
Thanks
It should show fine with the default settings. You can change the layout with:
B4X:
Sub Button1_Click
Dim rs As Object = Dialog.Show("?", "Yes", "", "C a n c e l")
Dim btn As B4XView = Dialog.GetButton(xui.DialogResponse_Cancel)
btn.Left = btn.Left - 20dip
btn.Width = 100dip
Wait For (rs) Complete (Result As Int)
End Sub
It should show fine with the default settings. You can change the layout with:
B4X:
Sub Button1_Click
Dim rs As Object = Dialog.Show("?", "Yes", "", "C a n c e l")
Dim btn As B4XView = Dialog.GetButton(xui.DialogResponse_Cancel)
btn.Left = btn.Left - 20dip
btn.Width = 100dip
Wait For (rs) Complete (Result As Int)
End Sub
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.