This bug was introduced with NS Basic/CE 8.0. We have not managed to fix it yet: it appears to be a corruption issue in the development files. Each time we fix the problem, another function gets it. We haven't given up yet, though.
If you can do without the new features of NS Basic/CE 8.0's picturebox, the older version does not have this problem. George Henne NS BASIC Corporation http://www.nsbasic.com >Hi, > >I've been trying to read individual pixels from an image in an >nscepicturebox. Even though I can get a screen grab and draw a pixel >using the drawpoint method, both ce and nsbasic give an error that the >picturebox doesn't support a 'pixel' property or method. > >I've put the relevant code below, and I'd be very grateful if someone >could tell me where I'm going wrong: > >Sub grab_Click() > Dim p > picbox.ClipTop=31 > picbox.ClipLeft=5 > picbox.ClipWidth=230 > picbox.ClipHeight=110 > picbox.Clip=True > picbox.CaptureScreen > picbox.DrawPoint(10,10) > p=picbox.pixel(10,10) <- Error here > Msgbox p >End Sub > >AddObject "NSCEPictureBox.NSCEPictureBoxCtrl.1", "picbox", 5, 150, 230, 110 >picbox.borderstyle=1 > >Many thanks, > >Andrew. > > > > >------------------------------------ > >Yahoo! Groups Links > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~----------~----~----~----~------~----~------~--~---
