Board index » cppbuilder » simple graphic control
Blake Young
![]() CBuilder Developer |
simple graphic control2005-11-20 07:49:14 AM cppbuilder58 The graphic object I am currently using is an extension of the TGraphicControl class. class TBoxFrame : public TGraphicControl; This control works great in every area except for keyboard event handling. According to the BCB help files, TGraphicControl objects do not support this. I am looking for another base class to extend, and I need it to support the following actions: 1) Mouse commands (including OnMouseDown, OnMouseUp, and OnMouseMove...not just OnClick) 2) Keyboard commands (including KeyDown, KeyUp, etc...not just KeyPress) 3) The ability to draw directly on the object's canvas. 4) The ability to Assign one object of this class to another. Just wondering if someone could help me out with a good recommendation. Thanks. |