Hello
Im trying to display the following msg with a carriange return inside, but I get errors
MsgBox "Bad file, please choose a picture"+chr$(13)+" [valid formats: BMP, JPG, GIF, PNG]"
Why doesn’t it accept the CHR$(13) ?!??!
Thanks
Hello
Im trying to display the following msg with a carriange return inside, but I get errors
MsgBox "Bad file, please choose a picture"+chr$(13)+" [valid formats: BMP, JPG, GIF, PNG]"
Why doesn’t it accept the CHR$(13) ?!??!
Thanks
Try
MsgBox “Bad file, please choose a picture”+ chr(13) + " [valid formats: BMP, JPG, GIF, PNG]"
You can also use
MsgBox “Bad file, please choose a picture”+ EndofLine + “[valid formats: BMP, JPG, GIF, PNG]”
Because that is VB, and not Xojo. You must learn Xojo at some point, even if it looks easy, it is another language.
http://documentation.xojo.com/index.php/Chr
The LR is your fiend. Refer to it when something does not work.