jiayouxjh / grafx2

Automatically exported from code.google.com/p/grafx2
0 stars 0 forks source link

lua messagebox enhancement #436

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

i've tryed to print the following with the messegaebox but i get an error:
messagebox("Error", "image width is not a multiple of "..fontcharx "\nimage 
heigth is not a multiple of "..fontchary)

does i make something wrong or can the message box only show one string and the 
following variables like:
messagebox("Error", "image width is not a multiple of "..fontcharx)
or
messagebox("Error", "image width is not a multiple of "..fontcharx ..fontchary)
when i use the last fontcharx fontchary are printed directly after each other 
in my case 88

and if messagebox cannot handle multiple strings i like the request this.

... greetings HoraK-FDF

Original issue reported on code.google.com by HoraK-...@web.de on 27 Apr 2011 at 10:41

GoogleCodeExporter commented 9 years ago
In the first messagebox, you omitted one .. between fontcharx and the string 
that follows it. If you add it, it should work just like you want: A 2-line 
message.

Original comment by yrizoud on 27 Apr 2011 at 11:31

GoogleCodeExporter commented 9 years ago
thank you :) bye the way where can i upload the little lua script i wrote i 
think it could be usefull for someone 

Original comment by HoraK-...@web.de on 28 Apr 2011 at 2:32

GoogleCodeExporter commented 9 years ago
You can attach it here, or mail to the google group. We don't have anything 
better as forum or anything :/

Original comment by yrizoud on 28 Apr 2011 at 1:03

GoogleCodeExporter commented 9 years ago
i think its the best to attach it here info is included in lua file

... greetings HoraK-FDF

Original comment by HoraK-...@web.de on 29 Apr 2011 at 7:04

Attachments: