TPanel won't allow it. You would have to drop a TImage or create a TImage with that panel as it's parent and owner. Then draw on the TImage's canvas. I can't remember, you may have to draw on the TImage->Picture->Bitmap->Canvas.
I am trying to provide a graphical front end for a proprietary programming language. I need to be able to display 40 rows and 31 columns in the panel. then i need to be able to select a string of character spaces and then specify field (int, char, decimal, etc.. ) type this area will represent....but i dont actually enter data of a specific field type....it is just a gui to use the specified parameters to generate code for a specific field type at a specific location when the code is generated.
Do you think Paintbox, or TImage would be best for this? or is there a better alternative.
I need to keep this as general as possible for future modification, there will probably be a modified painting method in the future and i do not know what else will be changed.
TPaintBox won't get you anymore than TImage does. Unless you want to be able to free hand draw...which I don't think you do. I don't really follow what you need it for(been a long week at work), so I can't suggest anything better.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.