Environment versions
Network:
Windows 2000 Server
>Hi All,
>I have a custom component that tracks the last n number of enquiries on a form ( stores customer numbers ) . In the class I have a public property called MaxCusts which is of type int. The problem I have is, if I try to set the property using the property sheet at design time, I receive the error "Property value is not valid" and have to cancel the action. I've googled and can't find anything of any help.
Odd. What value does it have when you first open the property sheet ? Any code in the setter that might cause a problem? As a test does it work with a nullable int ? Any DefaultAttribute set for the value ? Can you post a stripped-down component that will repro?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only