Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ERROR: AV's and IWButton.picture.data: the parameter is incorrect
#4
My recommendations regarding it:

1) * NEVER * (and I can't stress it enough) use Bitmaps in anything that might be related with the web. Convert your images to PNG files and replace your bitmaps by these new files.

2) A TIWImageFile is a better option than TIWImage. You need to save your PNG files externally in wwwroot folder if you decide to go through that route. This is the best option for several reasons: (a) IW doesn't need to load/process/convert/save to HDD your image *every time a form is being rendered*, and (b) the browser cache will be able to properly cache the image and will render it much faster

3) If you decide to keep using TIWImage, check the property"PreProcessImage" to TRUE which reduces the memory and CPU usage to render the form

I'll see if I can recreate this, but certainly doing like (2) above will eliminate the problem completely

BTW, can you please tell me your exact version number?
Reply


Messages In This Thread
RE: ERROR: AV's and IWButton.picture.data: the parameter is incorrect - by Alexandre Machado - 02-07-2020, 01:21 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)