TS2 Project Viewer oddities

Posts   
 
    
mihies avatar
mihies
User
Posts: 800
Joined: 29-Jan-2006
# Posted on: 13-Aug-2006 14:12:23   
  • Can modify properties such as Capacity of a generic List represented by LastUsedTemplateBindings
  • When clicking on ProjectElementGroups\DefaultParticipatingObjectsGroup and then in Project Properties on Values (Collection) [...] one gets this exception:
  • component -----[Core exception]-------------------- at System.ComponentModel.TypeDescriptor.GetDescriptor(Object component, Boolean noCustomTypeDesc) at System.ComponentModel.TypeDescriptor.GetEditor(Object component, Type editorBaseType, Boolean noCustomTypeDesc) at System.ComponentModel.TypeDescriptor.GetEditor(Object component, Type editorBaseType) at System.ComponentModel.Design.CollectionEditor.CollectionEditorCollectionForm.ListItem.get_Editor() at System.ComponentModel.Design.CollectionEditor.CollectionEditorCollectionForm.CalcItemWidth(Graphics g, ListItem item) at System.ComponentModel.Design.CollectionEditor.CollectionEditorCollectionForm.UpdateItemWidths(ListItem item) at System.ComponentModel.Design.CollectionEditor.CollectionEditorCollectionForm.Listbox_handleCreated(Object sender, EventArgs e) at System.Windows.Forms.Control.OnHandleCreated(EventArgs e) at System.Windows.Forms.ListBox.OnHandleCreated(EventArgs e) at System.Windows.Forms.Control.WmCreate(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ListBox.WndProc(Message& m) at System.ComponentModel.Design.CollectionEditor.FilterListBox.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

BTW are Project Properties meant to be editable in TS2?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39786
Joined: 17-Aug-2003
# Posted on: 13-Aug-2006 15:33:43   

No. You should use the viewer (it's a viewer wink ) to view properties, their structure, type and contents. You can edit away of course, but you can't save.

As .NET doesn't have a readonly feature on the CLR level, I can't lock-down the object graph.

Frans Bouma | Lead developer LLBLGen Pro
mihies avatar
mihies
User
Posts: 800
Joined: 29-Jan-2006
# Posted on: 13-Aug-2006 15:44:51   

Otis wrote:

No. You should use the viewer (it's a viewer wink ) to view properties, their structure, type and contents. You can edit away of course, but you can't save.

As .NET doesn't have a readonly feature on the CLR level, I can't lock-down the object graph.

Hint: DX' VerticalGrid probably could do it wink

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39786
Joined: 17-Aug-2003
# Posted on: 13-Aug-2006 16:29:32   

mihies wrote:

Otis wrote:

No. You should use the viewer (it's a viewer wink ) to view properties, their structure, type and contents. You can edit away of course, but you can't save.

As .NET doesn't have a readonly feature on the CLR level, I can't lock-down the object graph.

Hint: DX' VerticalGrid probably could do it wink

Do what? simple_smile Enlist all properties of all objects? I'm not sure.

Frans Bouma | Lead developer LLBLGen Pro
mihies avatar
mihies
User
Posts: 800
Joined: 29-Jan-2006
# Posted on: 13-Aug-2006 20:59:43   

Otis wrote:

mihies wrote:

Otis wrote:

No. You should use the viewer (it's a viewer wink ) to view properties, their structure, type and contents. You can edit away of course, but you can't save.

As .NET doesn't have a readonly feature on the CLR level, I can't lock-down the object graph.

Hint: DX' VerticalGrid probably could do it wink

Do what? simple_smile Enlist all properties of all objects? I'm not sure.

Yup, it is supposed to support "object properties" mode in forthcomming 6.2 version (plus total control, of course) - I haven't tried it yet though.

simmotech
User
Posts: 1024
Joined: 01-Feb-2006
# Posted on: 14-Aug-2006 08:01:49   

Otis wrote:

mihies wrote:

Otis wrote:

No. You should use the viewer (it's a viewer wink ) to view properties, their structure, type and contents. You can edit away of course, but you can't save.

As .NET doesn't have a readonly feature on the CLR level, I can't lock-down the object graph.

Hint: DX' VerticalGrid probably could do it wink

Do what? simple_smile Enlist all properties of all objects? I'm not sure.

Have a look at http://www.devexpress.com/products/net/dxperienceent/whatsnew2006v2/MajorUpdates.xml#autolist7

stuck_out_tongue_winking_eye

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39786
Joined: 17-Aug-2003
# Posted on: 14-Aug-2006 09:12:54   

I'll check it out simple_smile

Frans Bouma | Lead developer LLBLGen Pro