Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - Using custom data types
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Using custom data types

 Post Reply Post Reply
Author
Message
rameo View Drop Down
Newbie
Newbie
Avatar

Joined: 15 March 2004
Location: Australia
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote rameo Quote  Post ReplyReply Direct Link To This Post Topic: Using custom data types
    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...

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 15 March 2004 at 6:07am
As of now this is included only in the MFC version.
Back to Top
JamesH View Drop Down
Senior Member
Senior Member


Joined: 01 December 2004
Status: Offline
Points: 147
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamesH Quote  Post ReplyReply Direct Link To This Post Posted: 03 February 2005 at 12:26pm

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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.