You cannot draw onto a Panel !
Why do you want to draw onto a Panel ?
With the ImageLib or ImageLibEx libraries you can draw onto a Bitmap and copy this Bitmap or a part of it onto an Image control belonging to the Panel or directly onto the Form.
But anyway I find it more useful to draw directly onto the form, either with the direct keywords or with the ImageLibEx library.
The ImageLibEx is available for download only to licenced users, but you appear on the forum as beeing not (yet) licenced.
I dont know if the ImageLib is part of the demo program.
There does exist a
Graphics Tutorial, but here again I'm not shure if it is available for unlicensed users .
Best regards.