Prod.: Engine, ver.: 6014, ID: 60000826, Bug : VectorDraw grid issue with getting selectedobject and Clear

Bug : VectorDraw grid issue with getting selectedobject and Clear

Article60000826
TypeBug
ProductEngine
Version6014
Date Added3/20/2009
FixedYes [3/24/2009]
Submitted byFrank Louis
Keywords

Subject

VectorDraw grid issue with getting selectedobject and Clear

Summary

VectorDraw grid issue with getting selectedobject and Clear



1) I can't read/access the SelectedObject property from gridcontrol without an error or crash in Powerbuilder or VB(A).



2) Changes to Readonly property can be done only once with visible effect.

Same with the new FilterReadOnlyProperty. Once a type is changed (isreadonly) then this event is no more fired for this type,
after a new assign of SelectedObject.

If the method Clear() also reset the internal state then I can get control over it.


Solution


1) Fixed in 6015.


2) In version 6015 Clear method of vdGrid object also clears the Property Descriptor Types and the ReadOnly property or grid events can be reseted.