If you need to alter the constraints on an existing element, use the function
. See how the interface in Character constraints resizes after this call:
'set-hint-table editor2 '(:visible-min-width (:character 100)))
If you define your own
class, ensure that its hint table matches the visible geometry and is kept synchronised after any movement of the object, otherwise redrawing may be incorrect.
Similarly if you draw pinboard objects under a transform, call
with the transformed geometry to ensure correct redrawing.
CAPI User Guide (Windows version) - 30 Aug 2011