B4J Question [Solved] InputBox and MsgBox - Consistency Of Interface

RichardN

Well-Known Member
Licensed User
Longtime User
I am writing a Db front-end that needs to get user free-text input and inform search errors to the user.

The fx.Msgbox() is the easiest dialog to use in B4J. Unfortunately I see no native equivalent for text input so I have resorted to using B4X dialogs which work just fine. Unfortunately the downside of this approach is that the two varieties of dialog look completely different in size, aspect ratio and colour giving an inconsistent user experience.

I need either a native fx.dialog to get free-text input or alternatively a B4X dialog that fulfils the simple function of a MsgBox without umpteen lines of code and it's own layout!

BTW I am aware I can design my own but I have neither the time or the desire to turn one project into two for such a simple purpose!

Edited to Add: Access to one of these Input Dialog from Oracle's pages would be just the job.

CustomizedDialog2Metal.png
 
Last edited:

RichardN

Well-Known Member
Licensed User
Longtime User
Free-Text Input Dialog:
Private Dialog As DialogsX
Dialog.Initialize()

Dim Result As String = Dialog.TextInputDialog(APPNAME,"Enter search clue","","")

I never realised that finding something so simple would be so difficult !
 
Upvote 1
Top