View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003665 | JEDI VCL | 03 Donations | public | 2006-04-27 23:36 | 2008-02-21 03:19 |
| Reporter | ibdm-c | Assigned To | |||
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | closed | Resolution | suspended | ||
| Product Version | 3.20 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0003665: JvInspecctor AddOn to inspect multiple objects at the same time | ||||
| Description | The AddOn consists of the unit ObjectSetPropertyClasses.pas and a demo programm for it. The unit ObjectSetPropertyClasses contains two classes, TPropertySet and TInspectorPropertySetData. TPropertySet base methods are procedure Clear; procedure AddObject(aObject: TObject; TypeKinds: TTypeKinds = kProperties); The important properties are property Count : Integer read GetCount; property Items[index: Integer]: PPropInfo read GetItem; default; property InstanceCount: Integer read GetInstanceCount; property Instance [index: Integer]: TObject read GetInstance; Inside it uses a TJvPropInfoList. TInspectorPropertySetData is copied from TInspectorPropertyData and modified as necessary. Instead of an object instance it uses a TPropertySet instance. In all SetAsXxx methods it iterates through the PropertySet instance list and calls TypInfo.SetXxxProp. In the GetAsXxx methods it returns the value of the first object in the PropertySet instance list (as the Delphi7 ObjectInspector does), except the string property. There it returns the string of the first object if the strings of all objects are equal, otherwise an empty string. I commented out the AddTypeMapping method because I don't know what it's good for. Additionally I'm not sure if the methods IsReadOnlyProperty, GetAsSet and SetAsSet will work as expected. Unfortunately I'm not so familar with the JvInspector components, so I can't solve this problem: It would be very nice to have an empty field in the JvObjectInspector for Integer, Float, ... properties too, if the Properties of each object in the set don't have the same value. Every help is welcome! Expand the zip file and copy the folder to ...\jvcl\examples\JvInspectorExt. The demo app uses relative paths as the other jvcl samples do, then you should be able to compile and test it. | ||||
| Tags | No tags attached. | ||||
| related to | 0001615 | closed | JvInspector: edit common properties of multiple objects |
|
2006-04-27 23:36
|
JvInspectorExt.zip (6,986 bytes) |
|
|
Could this provide a solution to 0003348 ? |
|
|
This issue is too old, many changes have been done in between. Should this still be applicable, please create a new issue after having tested using the latest JVCL |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2006-04-27 23:36 | ibdm-c | New Issue | |
| 2006-04-27 23:36 | ibdm-c | File Added: JvInspectorExt.zip | |
| 2006-06-09 01:57 | obones | Note Added: 0009510 | |
| 2006-06-09 01:57 | obones | Status | new => acknowledged |
| 2006-07-04 10:40 | marcelb | Relationship added | related to 0001615 |
| 2008-02-21 03:18 | obones | Status | acknowledged => closed |
| 2008-02-21 03:18 | obones | Note Added: 0014208 | |
| 2008-02-21 03:19 | obones | Resolution | open => suspended |