B4J Question DialogResponse.Positive - sdawilson (first post)    Apr 2, 2023 Thanks folks. Well spotted, Paul. It's the little things that trip me up!... B4A Question Listview / tableview with "Dialogresponse" - h725    May 31, 2016 Hello everybody ! I am looking for an easy way to realize the following task: I have a table which has several entries. entry 1 entry 2 entry 3 with input it might be something like: monitor PC System typewriter When I press on one entry e.g. entry 1 (monitor) I want a popup-window offering several optional changes to this entry e.g. (dynamically created e.g. from a DB) (new popup-windows) ... B4A Tutorial Dialogs library 2017 - Custom dialogs and async methods - Erel    Nov 26, 2018   (19 reactions)   tags: dialog, wait, B4A Dialogs V4 Lib, WaitFor, Dialogs = DialogResponse.POSITIVE Then Activity.Color = cd.RGB End If The async methods also include a Cancelable... CloseDialog with the result: Dialog.CloseDialog (DialogResponse.POSITIVE) You can explicitly set... DetailsDialog.GetButton(DialogResponse.POSITIVE).Enabled = valid End Sub The example is attached...Dialogs v4 is an extension to @agraham original dialogs library. It requires B4A v7+. https://www... CustomLayoutDialog which makes it easier to develop custom dialogs. - New ShowAsync methods for all dialogs except... B4A Tutorial DoEvents deprecated and async dialogs (msgbox) - Erel    May 28, 2017   (26 reactions)   tags: wait, UI res = DialogResponse.POSITIVE Then End If You should use: Msgbox2Async("Delete?"... Msgbox_Result (Result As Int) If Result = DialogResponse.POSITIVE Then '... End If Wait For doesn... = DialogResponse.POSITIVE Then '... End If This allows multiple messages to be displayed... implementation as the modal dialogs implementation, is a low level implementation. It accesses... not responding) dialogs. Note that this is also true for the modal dialogs (such as Msgbox and... B4A Library Android SFTP based on JSch tutorial - Erel    Apr 18, 2024   (12 reactions) . It is a condition. 'The value will be True if res equals to DialogResponse.POSITIVE. sftp1.SetPromptResult(res = DialogResponse.POSITIVE) End Sub The network thread will wait until you call... the orientation while the dialog is visible. SFtp can also show a message to the user in some cases... B4A Question How to use MsgBoxAsync with wait for? - LucaMs    Dec 5, 2017 I understand how to use the version 2 of MsgBoxAsync with Wait For: Msgbox2Async("Message", "Title", "Positive", "Cancel", "Negative", Bmp, False) Wait For MsgBox_Result (Result As Int) If Result = DialogResponse.NEGATIVE Then but not how to use the simple MsgBoxAsync; this does not work: Wait For MsgboxAsync("Message", "Title")... Other Quiz #12 - Find the bug - Process & Activities life cycle - Erel    Feb 17, 2014   (2 reactions) ) If Msgbox("Do you want to save changes?", "") = DialogResponse.POSITIVE Then... Bug? Android 4.3 pb with closing the app - imbault    Jul 27, 2013 ) If Answ = DialogResponse.NEGATIVE OR Answ = DialogResponse.CANCEL Then Return True... B4A Code Snippet CustomLayoutDialog with CustomListView - Erel    Jul 30, 2017   (16 reactions)   tags: wait, CustomLayoutDialog, CustomLayoutDialog Dialog , Value As Object) Log("Selected item: " & Value) cd.CloseDialog(DialogResponse.../images/SS-2017-07-30_08.57.39.png 2. Create the dialog: Sub Activity_Click Dim cd As CustomLayoutDialog cd.ShowAsync("Choose item", "", "", "", Null, False) cd.SetSize(100%x, 100%y) 'request maximum size Wait For Dialog_Ready (DialogPanel As Panel) DialogPanel.LoadLayout("CustomDialogLayout") For i = 1 To 20 CLVDialog... B4A Question Not all code paths return a value - ronell    Mar 7, 2017 i have warning in my code(see title) Sub activity_KeyPress (KeyCode As Int) As Boolean If KeyCode = KeyCodes.KEYCODE_BACK Then Private ans As Int ans = Msgbox2("Do you want to close the app?", "Close App","Yes","Logout","No", Null) If ans = DialogResponse.POSITIVE Then Activity.Finish Else If ans = DialogResponse.CANCEL Then Activity.LoadLayout("frmlogin") Else... Page: 1   2   3   4   5   6   7   |