[solved]
[EDIT]
how set icon on xui.Msgbox:
[B4X] [XUI] Msgbox :
https://www.b4x.com/android/forum/threads/b4x-xui-msgbox.85201/#content :
[/EDIT]
javafx.scene.image.Image
ok: [B4J] [B4X] favicon32x32.png is in Files Folder. set an icon:
Windows desktop:
designer, no icon to see:
In Order to add new images, you should first add the images to the "Files" list.
I clicked [Sync] in Files Manager:
[EDIT] but forget: Visual Designer: Files Tab:
- [Add Files]
- [Refresh]
//see answer
[/EDIT]
Windows Explorer:
[EDIT]
how set icon on xui.Msgbox:
[B4X] [XUI] Msgbox :
https://www.b4x.com/android/forum/threads/b4x-xui-msgbox.85201/#content :
B4X:
Dim icon As B4XBitmap = xui.LoadBitmapResize(File.DirAssets, "warning.png", 60dip, 60dip, True)
Dim sf As Object = xui.Msgbox2Async("Delete file?", "Title", "Yes", "Cancel", "No", icon)
Wait For (sf) Msgbox_Result (Result As Int)
If Result = xui.DialogResponse_Positive Then
Log("Deleted!!!")
End If
javafx.scene.image.Image
B4X:
' B4X '
'xui.Msgbox2Async(msg strg, title strg,
' positive "Yes", cancel "Cancel", negative "No",
' dialog-icon javafx.scene.image.Image or Null)
xui.Msgbox2Async(msg, "","","","OK", Null)
ok: [B4J] [B4X] favicon32x32.png is in Files Folder. set an icon:
Windows desktop:
designer, no icon to see:
In Order to add new images, you should first add the images to the "Files" list.
I clicked [Sync] in Files Manager:
[EDIT] but forget: Visual Designer: Files Tab:
- [Add Files]
- [Refresh]
//see answer
[/EDIT]
Windows Explorer:
Attachments
Last edited: