#1 No value for non string types

closed
nobody
None
5
2005-12-02
2005-11-14
icStatic
No

Would it be possible to allow a non string property to
have no value? For example a boolean property could
have neither True nor False selected.

The reason I ask is because I am writing an application
that allows you to manipulate multiple objects at once
and I want it to display no value in the properties if
the values do not match for all objects, that way the
user can see what is different and can enter a new
value which then gets applied to all objects selected.

Ideally the property grid will allow you to append a
property with either a value specifed or no value
specified. or alternatively a call to
ClearPropertyValue will wipe the value from all types
not just Strings.

Keep up the good work!

Discussion

  • Jaakko Salli

    Jaakko Salli - 2005-11-16

    Logged In: YES
    user_id=1193883

    There is SetPropertyValueUnspecified method. Is this what
    you are looking for?

    Also, method's name is now supposed to be
    SetPropertyUnspecified, and it is actually that when line
    with "#define wxPG_COMPATIBILITY_1_0_0" in propgrid.h is
    commented. This is a bug, so in the next version the shorter
    name will work even with the compatibility flag.

     
  • Jaakko Salli

    Jaakko Salli - 2005-12-02
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks