Dialog Custom Layout - B4XDialog part 3 - B4X B4A Android Tutorial

preview_player
Показать описание
Here we are going to learn how to create a custom layout for our dialog. we will design a layout for it and show it inside B4XDialog. the other thing that we are going to learn is handling back button while using B4XDialog. The dialog will get disappear once the use hits on back button.

Related Topic:
Рекомендации по теме
Комментарии
Автор

An extremely helpful tutorial series. Thank you very much.

jensknaack
Автор

Exists b4a build in modal dialog with only text and Ok and No Buttons?

LucianoVeneziano
Автор

Buenos dias. Como emplear "FloatLabeledText" en lugar de "EditText"?. Gracias.

carloseduardogomezlozano
Автор

Milo, I really like your tutorials! But I found a bug in the handling of the Back button you propose. You should first check to see if the dialog is showing, and only then close it and return True. Otherwise, the back button stops working completely inside the app. I was able to do this by changing the If statement to this

If KeyCode = KeyCodes.KEYCODE_BACK And Then

Return True
End If

...and now it works great!

Thanks! -Jesse

XL-Freak
Автор

if you can help me?, please. the conditional give the following sintax error: "Cannot access private member: xui". the version of the B$A that i used is 11.80

carloseduardogomezlozano