Delphi control (1)

zhaozj2021-02-16  43

"A excellent Delphi programmer, not only will use controls, but also write controls." (Paying tribute to Yupiren, I am still a programmer of a semi-scoop, so I can work hard to achieve the realm of it is: The programmer of a semi-scoop, he will not write the control, as long as it can be changed, you can use Delphi, we know that we always hope that there is now a function of designing the Delphi application. The third-party free control can be used. But the actual situation is often, the online control is indeed a variety, and the excellent works are still countless, but the controls that really meet the specific requirements of the designer are very small. The reason, nothing In the following 1. The application of Chinese people has made Chinese characteristics, and excellent third-party controls are often developed by foreign program developers (the famous RXLIB, knowing, Russian works). The difference in functional definition leads to the difference The inexplicability of the control, look at QuickReport knows (of course, QuickReport is also very bad) .2. True excellent third-party controls always grasp the functions that the control can achieve, the details are not much considered. The procedures we designed usually have to take into account the problems on many operation details (generally customer requirements, sometimes some metamorphosis) 3. For many very distinctive controls, we need only part of the features, but it is integrated In a big way, it is impossible to use it. 4. Excellent and free, always two contradictions, there is no free lunch in the world. Various reasons limit the utilization of developers to control resources. In fact, many controls code They all offer open interfaces. As long as you have a certain understanding of the principles of the control, then make the modifications of others, you can seamlessly add your own features, or remove redundancy. The purpose of the development, avoiding the trouble of rewriting the code, one fell in two (it seems unrecognizable, no way, half a scoop). There should be a lot of articles about the principle of the control, here I I want to introduce to how others's controls are "brought" through a specific example.

转载请注明原文地址:https://www.9cbs.com/read-27552.html

New Post(0)