
Differentiating between Design/Runtime Mode
UserControl.Ambient.UserMode
This will return True if VB is in run mode or False if VB is in design mode.
Not sure what it returns if VB is in break mode. Note that
AmbientProperties object is not available until after the Initialize event
has fired. See VB's help for more information.
Mike
Quote:
> How can you detect if your control is active in Design mode
> or Runtime mode ?
> Many Thanks