Re: Win32Lib Pixmaps error
- Posted by Matthew Lewis <MatthewL at KAPCOUSA.COM> Jul 20, 2000
- 418 views
> From: Lewis Townsend <SNIP> > C:\EUPHORIA\LEWIS\Karitaren\Graphics\win32lib.ew:9730 in procedure > setPixmap() > subscript value 0 is out of bounds, reading from a sequence > of length 12 > id = 0 <SNIP> It looks like your procedure Dress() is passing a zero as its first param to setPixMap(), which is id in setPixmap(). Win32lib uses id as a subscript to find the handle of the pixmap (within the sequence window_handle), hence the subscript error. Looks like the bug is coming from somewhere in your code. Probably just a typo somewhere. Matt Lewis