I am using Delphi 2007. Sometimes the properties related to components are lost. This is usually the work property and lookup data sets. I have some emergency bug fixes at some time and have sent a version to customers with a somewhat frightening consequence :-) Anyone know how to verify that there are virtually set property sets, or a way Does it have to stop it from happening?
Several good answers have been found on how to find out how this is happening (above Voted). But in a way of preventing it (sometimes), it is to ensure that you have added all reference units to your DPR. If you open a form, for example, which contains components that refer to other components on the data module, and that data module has not been added to the DPR / project, then you would almost guarantee to remove those IDEs , Because it removes references that can not determine it are valid. If, on the other hand, the data module is in DPR, IDE will be able to get it, and it is unlikely to remove references in the first place
Unfortunately, it still happens from time to time However, you still need to take detailed precautionary measures in other answers, but things can be better if you do not do this already.
Comments
Post a Comment