top of page

Forum Posts

Jun 19, 2019
In InfoPower VCL
Hi Roy! I am getting a range error in a TwwDBRichedit form when opening the popup editor using the Execute method. The error occurs in function wwRegionFromBitmap in vcl.wwcommon.pas and happens regardless of whether there is any text in the edit and regardless of whether any text is selected. I am running in Delphi Rio (VCL/Windows 10-64 bit). Error occurs when code compiled for either 32-bit or 64-bit platforms. I am using Infopower 20.0.2.4. Thanks for any assistance! function wwRegionFromBitmap(ABitmap: TwwBitmap; TransColor: TColor): HRgn; ... with ABitmap do begin for Row := 0 to Height - 1 do begin Col := 0; while Col < Width do begin while (Col < Width) and >> (wwGetStdColor(Pixels[Row, Col]) = TransColor) do //Error occurs here inc(Col); if Col >= Width then continue;
1
1
86

More actions
bottom of page