Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [ve-dev] Model does not change on property set


Hi Janak,

From the symtoms I think that there are a couple of options.  One that I think is most likely is that the ULCDimension is being created correctly and the model gets updated which causes code gen and prop sheet to work OK, however the scoping and ownership of the ULCDimension object is wrong which is affecting its serailization.  Reasons for this are likely to be that the preferredSize property is overridden in a .override and this is somehow causing problems or more likley RuledCommandBuilder is not being used at some point which means VCEPreSetCommand is being bypassed.  Second problem could be that some exception is thrown so trawl the ErrorLog to see if this is happening, and also run in Debug model to see what is being thrown and maybe squelched.  Also - under debug once the ULCButton has its dimension set on it then just inspect it and look for the eContainer of the ULCDimension and see whether this looks like it is setup the same as other properties you know are working OK.

Best regards,

Joe Winchester

Back to the top