vcl
How can I programmatically save event handler and then set it in C++ Builder?
I need to temporary remove TFrame\'s OnExit and OnEnter events, so I\'m trying to do following: declare FEnterHandler and FExit Handler:[详细]
2023-01-16 15:45 分类:问答WinDirStat-like control in Delphi
The program WinDirStats (written in C++, see http://sourceforge开发者_如何学运维.net/projects/windirstat/ ) has at the top a control that combines a tree-like structure (The column \"Name\", first on[详细]
2023-01-13 06:43 分类:问答How to register a component and property editor at run-time?
After much searching, it looks like I have to assign RegisterComponentsProc and RegisterPropertyEditorProc, which I have done.[详细]
2023-01-13 03:48 分类:问答What are csClickEvents and csCaptureMouse exactly?
I\'m trying to understand the ControlStyle property i开发者_如何学运维n Delphi 2007, but I\'m having trouble grasping the csClickEvents and csCaptureMouse attributes.[详细]
2023-01-13 00:50 分类:问答User defined component - how to set tooltip on Component Palette?
So, I created a new component, derived from an existing TControl type. When I installed it, it appeared on the Component Palette (is that what it\'s called) at the top of Delphi at design time, to al[详细]
2023-01-12 09:55 分类:问答How to code a property editor for integer with min/max values?
Edit: original question below, but I revise it now that I have some code to post.... I am created an editbox which only accepts an integer as input. I didn\'t use a TMaskEDit because I want to derive[详细]
2023-01-12 06:55 分类:问答TListView performance issues
I tried to use a TListView component to display rather large data lists (like 4000 rows large), and creating the list is incredibly slow - it takes something like 2-3 secs, which makes the UI all lagg[详细]
2023-01-11 15:55 分类:问答vcl.h: No such file or directory
I\'m looking to compile some old source code in Vis开发者_开发问答ual C++.However, the first of many errors I am receiving is:[详细]
2023-01-10 16:03 分类:问答Parent/Child relationship with TControl
I want to implement Parent/Child relationship with TControl and I mean to be able to have a TControl that can serve as a container for another TControl.[详细]
2023-01-08 10:44 分类:问答How can I create an independent copy of a Delphi TBitmap?
I have an application that prints text and images to pages on a printer. At the footer, we output an image, which is cached by loading it once, and stored in a TBitmap. In the print routine, it create[详细]
2023-01-07 17:38 分类:问答