Displaying the Property Value

From RAD Studio
Jump to: navigation, search

Go Up to Editing the Property as Text


The property editor's GetValue method returns a string that represents the current value of the property. The Object Inspector uses this string in the value column for the property. By default, Get Value reutnrs "unknown."

To provide a string representation of your property, override the property editor's GetValue method. If the property is not a string value, your GetValue method must convert the value into a string representation.

See Also