I have three properties: AutoFill, AutoFit, and AutoSize. In each of these
properties "set" block, I set the other two to false if the one being set is
true since only one can be true at one time. When I set one of them to True
in the Designer Property box, the others do not change to false. How do I
get them to change in the Designer property box?
--
Dennis in Houston
"Herfried K. Wagner [MVP]" wrote:
"Dennis" <De****@discussions.microsoft.com> schrieb:I have a UserControl with several Browsable properties. In some of the
properties "Set", I execute code that calls other procedures in my
control.
In the Design Mode when the properties are set in the properties window,
is
the UserControl Property "set" called which executes the procedures called
in
the set routine of the property?
Yes. You can use the control's 'DesignMode' property to check if it is
shown in design mode.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>