Hi, How does the Object Inspector detect non-default values of properties?
For example: I create a custom component which has a Integer property defaulting to 100. The constructor also sets FMyProp = 100. TMyComponent = class(...) published property MyProp: Integer read FMyProp write SetMyProp default 100; end; If the value is set to something other than 100, it gets written to the .lfm file and the object inspector writes the value in Red. How does Object Inspector know that? Can you use RTTI to query such a property to detect a non-default value? Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives