DrawingLine

aru

Member
WHEN I DRAW A LINE IT IS DRAWING ON FORM I NEED TO DRAW IN A PANEL WHAT CAN I DO?

IUSED THIS CODE
Form1.FLine(2,2,92,180,cBlack,B)
:sign0085:
CAN YOU HELP ME?
 

klaus

Expert
Licensed User
Longtime User
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.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…