I'm having a bit of a problem understanding how to re-wright "msgbox("Msg","")
I tried;
Globals
Dim Id As CustomDialog
Dim sf As Object = Id.ShowAsync("", "Enter your name", "Ok", "", "Cancel", Null, False)
Wait For (sf) Dialog_Result(Result As Int)
If Id.Result = DialogResponse.POSITIVE Then
Log(Id.Input)
End If
doesn't work,
I'm doing something wrong.
I'm getting warnings "Main - 233: Msgbox and other modal dialogs are deprecated. Use the async methods instead. (warning #34)"
with the old "Msgbox("Msg","")
some help would be greatly appreciated!
Thank you,
C
I tried;
Globals
Dim Id As CustomDialog
Dim sf As Object = Id.ShowAsync("", "Enter your name", "Ok", "", "Cancel", Null, False)
Wait For (sf) Dialog_Result(Result As Int)
If Id.Result = DialogResponse.POSITIVE Then
Log(Id.Input)
End If
doesn't work,
I'm doing something wrong.
I'm getting warnings "Main - 233: Msgbox and other modal dialogs are deprecated. Use the async methods instead. (warning #34)"
with the old "Msgbox("Msg","")
some help would be greatly appreciated!
Thank you,
C