All Answers

All Answers » Re: MessageBox Width » Comments for "Re: MessageBox Width"
  • Ivan Borges
    Thank you Luca. I run your sample and it worked as desired. However, I don’t seem to be able to have the patch work in my Solution. I have added into a Platform folder under my main project, set the MessageBoxPatch.js to Embedded Resource and uncommented the AssemblyInfo WisejResources(ExcludeList: “”) line. Rebuild the Solution and still don’t see it working. To be really sure, I left the “maximize” working, but nothing. Would you know of anything else I should check?
  • Luca (ITG)
    If you are using VB.NET the Platform folder doesn’t work because of the way the VB.NET compiler creates embedded resources. You can keep the Platform folder (VB.NET ignores it) but rename the file “Platform.MessageBoxPatch.js) see https://wisej.com/docs/2.2/html/EmbeddedResources.htm (for VB.NET developers warning).
  • Ivan Borges
    Nope, C# here, but I will check the documentation link.
  • Ivan Borges
    Even though it is C#, I followed the instructions and renamed the file, but still not working.
  • Luca (ITG)
    Try in a new project copying the code from the sample I attached.
  • Ivan Borges
    Yep, it worked just fine in a new project. I know there must be something preventing it in my original solution, I just don’t know what to check.