Using custom data types |
Post Reply |
Author | |
rameo
Newbie Joined: 15 March 2004 Location: Australia Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 15 March 2004 at 5:07am |
Does anyone have any sample code on how to use the custom data types in the property grid. I would like to add a progress bar to one of the items and would like to know if this is possible. The product features section of the web site shows the shows screen shots of check boxes, sliders and spinners used here. It says the sample projects show you how to use the custom data types, but none of the Visual Basic samples I have demonstrate the use of custom data types. Many thanks... |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
As of now this is included only in the MFC version.
|
|
JamesH
Senior Member Joined: 01 December 2004 Status: Offline Points: 149 |
Post Options
Thanks(0)
|
Are there any plans to add this to the active-x control? Specifically what I need to do is have a field for displaying and editing 3D (X,Y,Z) coordinates. All 3 fields are doubles. Rather than having 3 separte items in the grid for X,Y and Z I would like to have either 1 item for "Position" that works in a similar way to the color field displaying the X,Y,Z all on one line which is editable or having a "..." button that allows for editing using a custom dialog. Alternately I could have a 2nd level of expandibility and have the Position become a 2nd level catagory that can be expanded to edit the X,Y,Z individually. Another thing I need to do is have a way for a field to act kind of like a tri-state check box. If multiple items are selected and their properties are the same (say a color field) then the property is displayed like normal and changing the property changes the color on both items. If the two selected items have different colors I would like to display something like "Multiple" in the property editor BUT also allow the user to change this to a valid color. If the property is not changed the selected objects colors will not change and they will both be different, if the field is changed both objects will have their colors set. Is there a way to do this?
Edited by JamesH |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |