Hi,
A compiled user control with a public exposed property, ShowLabel, is
added in a form, then, I change the property, through VisualStudio, but the
property, set, code IS NOT executed! (even if I assume it should, and mainly
wish it to be run) or, more precisely, a stop break point at the
showLabel=true; is not "debug-stopped". Am I missing a design time
attribute, or something? (Adding an Invalidate after the SetBounds does not
change anything).
[DescriptionAttribute("Display, or not, the associated label"),
DefaultValueAttribute(true)]
public bool ShowLabel
{
get
{
return showLabel;
}
set
{
showLabel=value;
this.SetBounds(this.Left, this.Top, this.Width, this.Height);
}
}
Thanks,
Vanderghast, Access MVP