B4J Question b4j inputbox

stevel05

Expert
Licensed User
Longtime User
Which dialog library are you referring to? If it's the B4xDialog then this is cross platform and will work on B4j as well and is highly configurable.
 
Upvote 0

thetahsk

Active Member
Licensed User
Longtime User
Look here

 
Upvote 0

linuxmentana

Member
Licensed User
Thank You!

This code works, but the dialog background is black and covers totally the form ?

B4X:
Base = anagrafica.RootPane
    
    
    Dialog.Title = "XUI Views"
    Dialog.Initialize (Base)

    InputTemplate.lblTitle.Text = "Enter time (HH:MM)"
   
    Wait For (Dialog.ShowTemplate(InputTemplate, "OK", "", "CANCEL")) Complete (Result As Int)
    If Result = XUI.DialogResponse_Positive Then
        ListView3.Items.Set(ListView3.SelectedIndex,InputTemplate.Text.ToUpperCase)
      
    End If
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
You can change the background color with Dialog.BackgroundColor, you can make it Transparent if you don't want to see it at all.
 
Upvote 0
Top