MsgBox2 icons not loading?!

AscySoft

Active Member
Licensed User
Longtime User
Hi
I just realize something now, maybe is OK maybe no,...
this command:

Msgbox2("Do U wanna do something?","Title","Yes","","No", LoadBitmap(File.DirAssets, "atentie_24.png"))

is working as it should be, but when i change it like this:

Msgbox2("Do U wanna do something?","","Yes","","No", LoadBitmap(File.DirAssets, "atentie_24.png"))

(without the title string) it does not load the image. Is it ok?
I spent alot of time to find the answer..no luck :BangHead:
 

kickaha

Well-Known Member
Licensed User
Longtime User
I can confirm that it happens, although I do not know why.

As a workround if you have a space as the title string it shows the bitmap
B4X:
Msgbox2("Do U wanna do something?"," ","Yes","","No", LoadBitmap(File.DirAssets, "atentie_24.png"))
 

AscySoft

Active Member
Licensed User
Longtime User
I can confirm that it happens, although I do not know why.

As a workround if you have a space as the title string it shows the bitmap
B4X:
Msgbox2("Do U wanna do something?"," ","Yes","","No", LoadBitmap(File.DirAssets, "atentie_24.png"))

Well, thanks.. I guess that the purpose of icon is to be displayed only near a title.. or is a bug...i don't know
 
Top