You could do what the TrackBar appears to do - silently adjust values to
enforce the constraint.  If you set the Maximum to be less than the Minimum
it adjusts the Minimum, and vice versa.

--
Ian Griffiths
DevelopMentor

----- Original Message -----
From: "Chris Sells" <[EMAIL PROTECTED]>


> That doesn't work with components in the designer.
>
> Chris Sells
> http://www.sellsbrothers.com/
>
> > -----Original Message-----
> > From: Sills, Adam
> >
> > Why not just make a setter method and leave your properties readonly.
> >
> > -----Original Message-----
> > From: Chris Sells [mailto:[EMAIL PROTECTED]]
> >
> > I ran into this issue just the end day with a start date and an end
> > date. I couldn't figure out how to check that the start was always
> > before the end without requiring them to set the properties in a
> > certain order.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to