New Non Blocking InputBox Function In Delphi XE7 Firemonkey On Android And IOS

Delphi XE7 Firemonkey Anonymous Thread InputBoxIn addition to the new non blocking MessageDlg function in Delphi XE7 Firemonkey and Appmethod there is also a new InputBox function. Embarcadero created the new non blocking InputBox function to better support Android which does not support blocking dialog boxes. This new InputBox function simply takes an anonymous method which gets executed when the InputBox is closed instead of blocking and executing code after the InputBox in the execution order. Now it should work great on Android, IOS, Windows, and OSX platforms without any problems. Here is an example code snippet for how you use the InputBox function in Delphi XE5 and Delphi XE6:

Here is an example code snippet for the new InputBox with the anonymous function:

Head over and check out the documentation of the new non blocking InputBox function on the Embarcadero DocWiki.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Leave a Reply

Show Buttons
Hide Buttons
Read previous post:
Send Push Notifications To Apps Via The GCM and APN APIs With Delphi XE7 Firemonkey

There is a Spanish blog post up with two videos demonstrating how to build your own client for sending push...