Hi all,
In B4J, I use the fx.MsgBox and fx.MsgBox2 to display a message.
The position of the opened dialog seems to be random. I'd like it to display center to the owner: frm.
If this is possible, how is it done?
Thanx,
Mark Stuart
In B4J, I use the fx.MsgBox and fx.MsgBox2 to display a message.
B4X:
Dim res As Int = fx.Msgbox2(frm, "Delete this record?", "Confirm", "Yes", "", "No", fx.MSGBOX_CONFIRMATION)
If res = fx.DialogResponse.POSITIVE Then
'delete the record
DBManager.Delete_URLRecord(SelectedID)
fx.Msgbox(frm,"Record deleted.", "Attention")
End If
The position of the opened dialog seems to be random. I'd like it to display center to the owner: frm.
If this is possible, how is it done?
Thanx,
Mark Stuart