I'm sorry if an answer to this question has already been posted, but I didn't find anything in the forum.
Is it possible to do the following in B4A like Visual Basic
I am developing a custom message box with four icons, which I will enlarge later. That's why I want to select them from the drop-down menu directly in the B4A editor, in principle in visual basic.
Sub MsgC (Prompt As String, Icon As Int, Title As String, Yes As String, No As String, Cancel As String) As ResumableSub
Dim bmIcon (10) as Bitmap
bmIcon(1) = LoadBitmap(File.DirAssets,"icon1.ico")
bmIcon(2) = LoadBitmap(File.DirAssets,"icon2.ico")
.....
End Sub
I searched the forum for B4XDialog, but did not find it.
I only found out that it is a class module but I didn't find it anywhere!